PDA

View Full Version : Help setting up php on apache server


coreyk67
04-03-2006, 03:15 AM
Hello, I am trying to teach myself a thing or two about web servers and other such things. I currently have been refering to this site http://www.webmasterstop.com/48-3.html , I followed the instructions to the T and am having a problem with the php aspect of it. This is the error i am getting.
Not Found

The requested URL /php/php.exe/phpinfo.php was not found on this server.
Apache/2.0.55 (Win32) Server at localhost Port 80

i should be getting a php info page.
You may have to refer to the listed site to see exactly what i am trying to accomplish.

Thanks alot

www.ftbendpc.com
www.fix-my-laptop.com

Vigilante
04-03-2006, 03:54 AM
Probably need some more info.
So you are installing PHP and MySQL and Apache ONE BY ONE on Windows?

If you want Apache and PHP and MySQL, I suggest you take a peak at http://www.en.wampserver.com/

A single installer that does it all. But if you really want to do the grunt work yourself. I can understand.

I suppose the simplest question is to make sure you have restarted all the services after editing php.ini and so forth. To make the settings stick.
Then make sure you type "locahost" or "127.0.0.1" into the browser when you type a URL. Once you think everything is set up right, and you placed phpinfo.php in the web folder as defined in php.ini, and php.ini is in the correct folder. Then type:
http://localhost/phpinfo.php
And that should work.

Keep it up though!

coreyk67
04-03-2006, 04:05 AM
this does seem like a better option. i'll give it a shot, Although i would like to know where i went wrong previously. I did restsrt the server and the phpinfo.php, and php.ini files are in the correct location. Thanks for the quick reply :)

coreyk67
04-03-2006, 04:19 AM
wow wamp server was so easy :)