Re: win2k - apache - php files open as text
| From: | Hoth | Date: | Sun, 08 Jul 2001 10:04:09 +0000 |
| Subject: | Re: win2k - apache - php files open as text | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-10148@lists.php.net to get a copy of this message | ||
This Problem I already had.
under my mail is a cut of my httpd.conf witch runs under my win2k. Your
Problem is that your apache can't understand ".php" so you had to tell him
what should happen with a file where at the end ".php" is. Therefor add the
lines with "AddType application ...".
I hope this helps you.
by
Hoth
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
-----Original Message-----
From: olinux [mailto:olnx@yahoo.com]
Sent: Saturday, July 07, 2001 1:58 PM
To: php-db@lists.php.net
Subject: [PHP-DB] win2k - apache - php files open as text
hey all- i have reformatted and do not know why this will not work.
I am running win 2k and apache [as a service]
i have configured the http.conf file as all documentations say to, yet when
i open a php file in IE it prompts to "save file to disk" "open from current
location" - if i choose open it displays the script as text.
Please help if you can - i have wasted the entire day ...
thanks much
olinux