PHP doesn't work under Apache (I am new user)
| From: | Mig | Date: | Sun, 12 Nov 2000 01:13:25 +0000 |
| Subject: | PHP doesn't work under Apache (I am new user) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-24822@lists.php.net to get a copy of this message | ||
Hello, I installed Apache server to try PHP 4 on my (Win95) machine, but can't get it to work.
I made the following:
a) Installed Apache server (all was ok)
b) started Apache (all was ok, I opened netscape with http://127.0.0.1 server and read Apache manual)
c) Edited httpd.conf to include some commands for PHP applications
ScriptAlias /php4/ "c:/php4/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php4/php.exe"
d) then I installed PHP 4, copied some .DLL files to windows/system dir and PHP.INI to windows dir
e) I created a single TEST.HTML page with a tiny PHP script, posted it to cgi- bin and then called
the URL http://127.0.0.1/test.html but the script is not
executed, all complete PHP source appears for me when call URL.
What could be wrong?
Please help first time user
Mig