PHP not executing for one project
Posted by: mrosenello (---.hsd1.pa.comcast.net)
Date: September 03, 2010 08:56PM

Hello,

I have several projects on my local WAMP server. Only one of them isn't executing PHP. When I view the page source in this one project it shows the PHP script. (example of what I see below). Any ideas? Thanks.

-Mike



----------------
<?php

//header( "Content-Type: text/html" );
phpinfo();

?>
-----------------

Options: ReplyQuote
Re: PHP not executing for one project
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: September 03, 2010 09:26PM

how are you excecuting the file?

make sure the file is called filename.php and not filename.php.txt

sometimes windows is set to "hide file extentsions for known file types"

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

Options: ReplyQuote
Re: PHP not executing for one project
Posted by: mrosenello (---.hsd1.pa.comcast.net)
Date: September 03, 2010 09:36PM

Hi Steve, thanks for the response. I finally figured it out. For some reason I had a copy of a php.ini file in the project directory and I just moved it out of there and it started working.

Not positive what actually caused it but this seems to have helped for now.

Options: ReplyQuote


Sorry, only registered users may post in this forum.