Click to See Complete Forum and Search --> : PHP4 + Apache on Windows 98


Anon
11-13-2000, 12:15 PM
Hello, I'm using Windows 98, and have PHP4 and Apache installed. Everything works great, however, once I click "submit" button on a feedback form (or any form on my local server) it takes me from: http://localhost/file.php to http://localhost/php.exe/file.php The php pages open up slow etc. I've heard that my problem can be fixed by making PHP as an Apache module. How do I do that?
Thanks

Anon
11-14-2000, 06:32 AM
o..it's probably the problem of misconfigurfation of your httpd.conf
i configured my Apache+PHP4 as following:

ScriptAlias /php/ "c:/php/"
AddHandler php .php
AddType application/x-httpd-php .php
Action php "/php/php.exe"

if you request a .php document, Apache will
redirect it to php.exe (PHP engine),
be sure, don't put:

Action php "/php/php.exe/" # this is WRONG!

Anon
11-14-2000, 11:42 AM
Thanks!
I'll check my configuration file once again!

Paul