RE: [PHP] PHP on Apache2 on WindowsXP .. More..

From: Date: Sat, 10 May 2003 21:46:09 +0000
Subject: RE: [PHP] PHP on Apache2 on WindowsXP .. More..
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147147@lists.php.net to get a copy of this message
Kevin, Many thanks for the Installer Guide, which is otherwise a great help. Unfortunately my problem still remains the same. I got the latest version of PHP from their site and configured PHP as usual, without a problem. But yet again, Apache2 works fine if I Comment the LoadModule line.. which is this .. LoadModule php4_module c:/windows/php4apache2.dll And doesn't work if I don't. So basically Apache2 just doesn't work if I load the PHP module in it. I looked at the note you had given in your guide.. no matter I keep php4apache2.dll in c:/php/sapi or c:/windows (I use XP Home Edition so I have C:/Windows and no C:/winnt).. no matter where I place the file and give the path in httpd.conf.. it still doesn't work! What am I to do now? Need more help.. Thanks, PhpSpooky Spooky, I did a similar installation and kept notes (go figure?). You can run through my notes to see if I did anything differently here: http://www.bitworkz.com/docs/uploader.html HTH, Kevin ----- Original Message ----- From: "PHP Spooky" <phpspooky@mjimm.com> To: <php-general@lists.php.net> Sent: Saturday, May 10, 2003 12:37 AM Subject: [PHP] PHP on Apache2 on WindowsXP .. More.. > Glory! > > I checked out and found that I had to load another DLL then the one I > was using.. and this is what I had to add in httpd.conf : > > LoadModule php4_module "c:/php/sapi/php4apache2.dll" > AddType application/x-httpd-php .php .php3 .php4 > > Instead of this : > > LoadModule php4_module c:/php/sapi/php4apache.dll > AddModule mod_php4.c > AddType application/x-httpd-php .php .php3 .php4 > > I did that.. even then I get the same error. Apache2 just wont start > once I have added the php module in httpd.conf, and it works fine when I > delete these lines from it. > And yes the paths are absolutely correct.. the files exist in > appropriate places.. and nothing is missing. > So what is the Problem? > > PHPSpooky > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Every man has a right to fulfill his own Will without being afraid that it may interfere with that of others; for if he is in his proper path, it is the fault of others if they interfere with him. Do what thy wilt shall be the whole of the Law! Love is the Law, Love under Will" - Aleister Crowley, "Magick without Tears" Rahul S. Johari Shining Star Productions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

« previous php.general (#147147) next »