Re: Q on PHP 4.3.2 & Apache 2.0.43

From: Date: Sat, 02 Aug 2003 05:41:01 +0000
Subject: Re: Q on PHP 4.3.2 & Apache 2.0.43
References: 1 2 3 4 5 6  Groups: php.windows 
Request: Send a blank email to php-windows+get-20985@lists.php.net to get a copy of this message
"Sek-Mun Wong" <sekmun@connectingspace.com> wrote in message news:20030801005030.11047.qmail@pb1.pair.com... > Well, it works for me under 1.3.28, that might be the difference here. ?? > so let me walk through your apache config. > > I'm sure there are issues with the script to say the least, refering to my script? <?php require("Date.php"); ?> or the Date package as a whole? > but just one more try with apache2: > > Your httpd.conf: > 1) remove these lines > LoadFile "/etc/php/php4ts.dll" > Action application/x-httpd-php "/etc/php/php.exe" > LoadModule php4_module "/etc/php/sapi/php4apache2.dll" OK, these are now commented out. > 2) add these lines: > LoadModule php4_module "c:/php/sapi/php4apache2.dll" > (or wherever your sapi is) > AddType application/x-httpd-php .php .phtml OK, I added the volume letter to my php4apache2.dll line LoadModule php4_module "G:/etc/php/sapi/php4apache2.dll" > 3) copy php4ts.dll to C:\WINDOWS\SYSTEM32 OK, but why? > 3a) do a "apache -t" test your conf Apache -w -d "G:\etc\httpd" -f "G:\etc\httpd\conf\httpd.conf" -D SSL -t Syntax OK > 4) restart apache done. > give that a go and see what happens crash and burn! No difference. :/ Well, thanks for the thoughts and your effort. Walter

« previous php.windows (#20985) next »