IE rendering of php pages
Posted 08 October 2006 - 03:19 AM
After installation and testing I'm getting the strangest behaviour when I check out any local page with a php extension.
Sympton 1) Treats any attempt to open a local php page as a "file download" (works ok for online pages)
This behaviour is not replicated when I check out the same pages using FireFox. Everything works fine in FF.
Any help or hints would be appreciated.
Posted 08 October 2006 - 12:01 PM
For your first symtom it appears you have not configured Apache correctly. Make sure you have added PHP as an Apache Module or as CGI and that you restarted the Apache server when you have made any changes to any configuration files (httpd.conf, php.ini).
NOTE: Currently PHP is not compatible with Apache2.2.x, unless you have PHP5.2 or are using third party dll files. I'd suggest you downgrade Apache to Apache2.0.x instead.
Posted 08 October 2006 - 11:21 PM
Found the answer myself but you kinda right for symptom two. For others who have similar problems (I found a couple of similar complaints when I googled the symptoms)
The problem was how I was calling the local php generated page. I was calling it from C:\Apache2.2\htdocs\MyWebDir\index.php instead of http:\\localhost\MyWebDir\index.php and so IE treated the page as an intranet generated file rather than a local file.
Once I had changed that everything was fixed.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users