PHP pages display well on webhost, but not on my localhost
Posted: Sat Sep 26, 2009 7:50 am
Hi can somebody please advise me on what the problem is with my php installation, it is installed on Win XP Pro using IIS 5.1, PHP Version 5.2.3 with MySql 5.0.15. IIS is configured with ISAPI filter set to "C:\PHP\php5isapi.dll" and is loaded, mappings is set to ".php" with executable set as "C:\PHP\php5isapi.dll".
I am sure it has to do with my php.ini file, but I am a first time php user and I have searched all over the web and can't find any reason for this happening - this is what displays on my localhost, this is a screenshot of the portion of the affected page:

This is what is displayed on my webhost (http://www.000webhost.com) of the same portion of the page, the script does not appear on the page, and it displays perfectly, so it is definitely not my code!

Here is a link to my PHP settings (http://www.fileden.com/files/2008/3/12/ ... Config.rtf)
And here is a link to my php.ini file (http://www.fileden.com/files/2008/3/12/1810634/php.ini), can somebody please advise me on what could be the cause of the script showing up all over my php pages, this is driving me nuts, I can't do proper testing without having to edit live on my webhost which is time consuming...
Or could this possibly be due to something other than my php configuration because it can't be the code!
Many thanks
Grant
I am sure it has to do with my php.ini file, but I am a first time php user and I have searched all over the web and can't find any reason for this happening - this is what displays on my localhost, this is a screenshot of the portion of the affected page:
This is what is displayed on my webhost (http://www.000webhost.com) of the same portion of the page, the script does not appear on the page, and it displays perfectly, so it is definitely not my code!
Here is a link to my PHP settings (http://www.fileden.com/files/2008/3/12/ ... Config.rtf)
And here is a link to my php.ini file (http://www.fileden.com/files/2008/3/12/1810634/php.ini), can somebody please advise me on what could be the cause of the script showing up all over my php pages, this is driving me nuts, I can't do proper testing without having to edit live on my webhost which is time consuming...
Or could this possibly be due to something other than my php configuration because it can't be the code!
Many thanks
Grant