PHP not working after install on Windows XP Pro
Posted by: jhowald (---.hsd1.co.comcast.net)
Date: December 15, 2009 11:31PM

I installed WAMPServer 2.0i on a Windows XP box with no problems. Apache works fine and MySQL works fine, but PHP does not seem to be working at all. All the PHP settings and extensions report out OK from the icon in the tray, but PHP code does not execute, and the system does not recognize the .PHP extension. Any thoughts on how I can fix this? I would appreciate any light that can be shed.

James

Options: ReplyQuote
Re: PHP not working after install on Windows XP Pro
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: December 15, 2009 11:54PM

ur doing one of these 3 things wrong

1. your using <? instead of <?php

2. your calling the file file.php.txt instead of file.php and windows is hiding the "known file type"

3. your running the file from the folder and not through the web broweser. use http ://localhost/file.php when running php

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 12/15/2009 11:58PM by stevenmartin99.

Options: ReplyQuote
Re: PHP not working after install on Windows XP Pro
Posted by: jhowald (---.hsd1.co.comcast.net)
Date: December 16, 2009 12:21AM

Hi Steven--

Thanks for your very fast response. It was #3.

Thanks again,

James

Options: ReplyQuote


Sorry, only registered users may post in this forum.