cvjacques Posted October 21, 2007 Share Posted October 21, 2007 I've been trying to make sens of php for weeks now and I can't get anyware. 1--- First, I tried to run the following script on my server but notting happens <? phpinfo(); ?> My service provider says that php is installed, but instead of getting the info on the php programme I just get a print out of my code. http://accesautocredit.com/phpinfo.php 2- I tried installing PHP 5 and MySQL on my home computer to practice my scripts. I can see they are installed but still I can't execute php. How can I learn anything if I can't see what my script is doing thanks!.... PS:I really need to get my work done. Please help me get started. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted October 21, 2007 Share Posted October 21, 2007 Use the full php tags (<?php ?>) and not shorthand tags (<? ?>) For your second script how are you running your scripts? Did you install a webserver too, such as Apache and have configured Apache with PHP? If you have not installed a webserver you will have to in order to run your scripts. Quote Link to comment Share on other sites More sharing options...
cvjacques Posted October 21, 2007 Author Share Posted October 21, 2007 Thanks, About Apache server... Can I run it localy. From a windows xp base? And will it affect my current sysytem? Thanks Eric Quote Link to comment Share on other sites More sharing options...
trq Posted October 21, 2007 Share Posted October 21, 2007 Of course you can run it locally and on windows. Its just like any other software so shouldn't effect your system at all. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.