Benjamin
Dec 21st, 2000, 04:42 PM
I want to install PHP with apache instead of PWS.... and I looked on http://www.php.net for instructions on how..
and it said this:
Windows 9x/NT and Apache 1.3.x
You must edit your srm.conf or httpd.conf to configure Apache to work with the PHP CGI binary.
Although there can be a few variations of configuring PHP under Apache, this one is simple enough to be used by the newcomer. Please consult the Apache Docs for further configuration directives.
ScriptAlias /php/ "c:/path-to-php-dir/"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
Action application/x-httpd-php "/php/php.exe"
I added that to httpd.conf ... and changed a few minor things("c:/path-to-php-dir" to "c:/website")
and it doesn't work...
I don't know what is wrong.. but it just won't work... when I try to open a PHP page.. it says 404 file not found...
can somebody please tell me how to properly configure PHP with apache??
Thanks,
Dennis
and it said this:
Windows 9x/NT and Apache 1.3.x
You must edit your srm.conf or httpd.conf to configure Apache to work with the PHP CGI binary.
Although there can be a few variations of configuring PHP under Apache, this one is simple enough to be used by the newcomer. Please consult the Apache Docs for further configuration directives.
ScriptAlias /php/ "c:/path-to-php-dir/"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
Action application/x-httpd-php "/php/php.exe"
I added that to httpd.conf ... and changed a few minor things("c:/path-to-php-dir" to "c:/website")
and it doesn't work...
I don't know what is wrong.. but it just won't work... when I try to open a PHP page.. it says 404 file not found...
can somebody please tell me how to properly configure PHP with apache??
Thanks,
Dennis