PHP 4.0.6 not working with Apache 1.3.20 on Win Me (Error 500)

From: Date: Tue, 04 Sep 2001 15:52:31 +0000
Subject: PHP 4.0.6 not working with Apache 1.3.20 on Win Me (Error 500)
Groups: php.install 
Request: Send a blank email to php-install+get-4191@lists.php.net to get a copy of this message
Hi, I have just joined this list. So pls pardon me if this has been asked before. Pls point me to an archive if so. I downloaded the executable of Apache from their web site and it works along with my CGI (Perl) scripts. I then downloaded from php.net a zip of 4.0.6. I followed the instructions of install.txt and from the site for both types of installation except that I put PHP on D: (D:\PHP). My Apache installation is on D:\ApacheGroup\Apache. My web site is on D:\Data\Web Site\. For CGI type I put the following lines in httpd.conf:
    ScriptAlias /PHP/ "D:/Data/Web Site/PHP/"
    <Directory "D:/Data/Web Site/PHP/">
        AllowOverride None
        Options None
        Order deny,allow
        Allow from 127.0.0.1
    </Directory>
in the <IfModule mod_alias.c> section and in the <IfModule mod_mime.c> section I put the lines:
    AddType application/x-httpd-php .php .phtml
    Action application/x-httpd-php "D:/PHP/php.exe"
But it didn't work (I believe the apache log didn't have a message even though put the loglevel the lowest) Then I tried the module method (removing the lines from the mod_mime section: I copied php4ts.dll to c:\windows\system and added the line: LoadModule php4_module D:/php/sapi/php4apache.dll But it still doesn't work. I believe Apache said something like: Premature end of script headers I tried a combination of both and similar results. But from the command line (keeping the file where it is for the web site) the output works! Any suggestions? Tks in advance Dr

« previous php.install (#4191) next »