> I was always using pws until recently when I got Apache for windows. =
> Unfortunately when apache gets to a php file it doesnt parse it, it =
> thinks its a file to download. I uncommented the php lines in the =
> http.conf file but still no use. Does anyone know how to fix this?
Make sure to get these lines in the right place in httpd.conf then RESTART
Apache:
#with the scriptaliases:
scriptalias /php/ c:/php/
# where c:/php/ is your php directory! so this is a windows example!
#at AddType one or more of these:
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .phtml
/*I believe it can also be
AddType application/x-httpd-php .php .php3 .phtml
*/
Action application/x-httpd-php "/php/php.exe"
#Optionally add index.php to the automatically opened files (opened when
link lacks filename):
DirectoryIndex index.html index.php3 index.htm index.php
hth,
Chris
--------------------------------------------------------------------
-- C.Hayes Droevendaal 35 6708 PB Wageningen the Netherlands --
--------------------------------------------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]