Problems getting php to load of of apache 1.3.20 under Windows Me
| From: | anopheles | Date: | Wed, 20 Jun 2001 07:24:25 +0000 |
| Subject: | Problems getting php to load of of apache 1.3.20 under Windows Me | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3299@lists.php.net to get a copy of this message | ||
PLEASE HELP!,
I'm running windows Me, I installed Apache 1.3.20 first, I tested it
with a html file, it works just fine. Then I installed PHP4, using the
windows installer version, then I followed the instructions and unzipped the
.zip version into the folder c:\php, I then added the following commands to
the http.conf :
#for the cgi binary (you can use that one compiled with force cgi redirect
too)
ScriptAlias /php4/ "C:/php/"
Action application/x-httpd-php4 "/php4/php.exe"
AddType application/x-httpd-php4 .php
#I put this in
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .phtml
Action application/x-httpd-php "/php/php.exe"
#I put this in
LoadModule php4_module c:/php/sapi/php4apache.dll
AddType application/x-httpd-php .php .phtml
After this I reloaded the apache server, it says this when it loads :
"Apache/1.3.20 <Win32> PHP/4.0.5 running..."
so it seems as if I should be able to view php files off of the apache web
server, but NOOOO, it doesn't work, when I go to a test page with a VERY
simple php script :
"<html>
<head>
<title>Hello World</title>
</head>
<body>
<?php echo "Hello World<p>"; ?>
</body>
</html>"
the page loads nothing but blank white, perhaps I am an idiot and there's
something wrong with the script but I got it from the php.net tutorial. All
I really NEED from this apache server is the ability to test .php files as I
learn PHP.
ANY help would be much appreciated.
Thanks in advance,
//anopheles