Win32 Error
| From: | Clement Law | Date: | Wed, 07 Jun 2000 16:48:07 +0000 |
| Subject: | Win32 Error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-1230@lists.php.net to get a copy of this message | ||
Hi,
I installed PHP V4.0 and Apache V1.3.12 with the mod_perl.
I added these lines in httpd.conf in Apache
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "c:/usr/php/php.exe"
Action application/x-httpd-php-source "c:/usr/php/php.exe"
and it's not within a <DIRECTORY> or <VIRTUALHOST>.
and this is my test.php that I am trying to run
<html>
<head>
<title>Example</title>
</head>
<body>
<?php echo "Hi, I'm a PHP script!"; ?>
</body>
</html>
When I try loading it, I get a 400 Error.
What might be the problem?
I'm using <DIRECTORY> and <VIRTUALHOST> in Apache, just so that you know.