Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: IE will always ask me to save a PHP script ? |
|
Author |
|
ckw089
Joined: 16 Nov 2006 Posts: 2 Location: Penang,Malaysia
|
Posted: Thu 16 Nov '06 11:35 Post subject: IE will always ask me to save a PHP script ? |
|
|
Slit from www.apachelounge.com/viewtopic.php?t=570
Hi,
I have tried 2 combinations:
1. Apache 2.2.3 with PHP 5.2.0
2. Apache 2.0.59 with PHP 5.1.4
Both of them giving me the same problem.
When I have tried test.php (contents as below), IE will always ask me to save it. The PHP script did not get processed.
<?php
phpinfo();
?>
I don't know what has gone wrong here ...
Hopefully, you can help ... |
|
Back to top |
|
Jorge
Joined: 12 Mar 2006 Posts: 376 Location: Belgium
|
Posted: Thu 16 Nov '06 15:33 Post subject: Re: IE will always ask me to save a PHP script ? |
|
|
ckw089 wrote: | Slit from www.apachelounge.com/viewtopic.php?t=570
Hi,
I have tried 2 combinations:
1. Apache 2.2.3 with PHP 5.2.0
2. Apache 2.0.59 with PHP 5.1.4
Both of them giving me the same problem.
When I have tried test.php (contents as below), IE will always ask me to save it. The PHP script did not get processed.
<?php
phpinfo();
?>
I don't know what has gone wrong here ...
Hopefully, you can help ... |
Seems like a mime problem... have you register .php with the php module?
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps |
|
Back to top |
|
ckw089
Joined: 16 Nov 2006 Posts: 2 Location: Penang,Malaysia
|
Posted: Tue 21 Nov '06 1:43 Post subject: IE will always ask me to save a PHP script ? |
|
|
Ya, I have added below 2 lines in httpd.conf. But, it still does not work ...
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps |
|
Back to top |
|
|
|
|
|
|