Use 4.2.1 or newer. 4.1.2 doesn't have support for apache 2.

Use this line in httpd.conf:

  LoadModule php4_module c:/php/experimental/apache2filter.dll

Change to your path, obviously.

-Dash

-----Original Message-----
From: Dr. D. Wagner [mailto:[EMAIL PROTECTED]] 
Sent: Monday, June 03, 2002 6:13 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] How do I get PHP 4.1.2 to work with Apache 2.0.36 on
win32?


Howzit,

I'm having a little trouble setting up PHP 4.1.2 to run on my Win32 
Apache 2.0.36 installation.  Apache is working flawlessly ortherwise, 
but If I try and add/uncomment the "LoadModule" line for 
php4apache.dll then Apache doesn't even load, just exits.

I've tried on both Win98SE and Win2k Pro.

I've followed the instructions almost to the letter (only changing 
directory paths where necessary).  Although none of the PHP files 
mention Apache2.

I've scoured the web for clues, and searched the archives and bug 
lists.

I've been to the phpgeek website and had a look at the page the was 
referenced a fee times in the archive, but I can't find any 
differences between that config and mine (other than the paths, and 
OS's), but it still doesn't work.

I even tried CGI mode -- apache loads, but PHP hangs when I call a 
test page.

Can someone please tell me where to get the instructions for running 
PHP 4.x on Apache 2.x.

Thanks in advance -- I've been banging my head against this wall all 
weekend, and I desperatly want to drop IIS and ASP before any more 
security holes turn up...

Dameon.

-- 
><> ><> ><> ><> ><> ><> ><> ooOOoo <>< <>< <>< <>< <>< <>< <><
Dr. Dameon Wagner
Network Administrator
Zoology Department,
University of Port Elizabeth,
South Africa.
Phone +27 41 504 2335
Fax +27 41 504 2317
E-mail: [EMAIL PROTECTED]
><> ><> ><> ><> ><> ><> ><> ><> ooOOoo <>< <>< <>< <>< <>< <><



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to