#16575 [Com]: cannot load php4apache.dll with apache2

From: Date: Wed, 16 Jul 2003 00:02:47 +0000
Subject: #16575 [Com]: cannot load php4apache.dll with apache2
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-44072@lists.php.net to get a copy of this message
ID: 16575 Comment by: Lick at liky dot com Reported By: Markus_Heiden at public dot uni-hamburg dot de Status: Bogus Bug Type: Apache2 related Operating System: Windows XP Professional PHP Version: 4.1.2 New Comment: you know there must be something wrong when so many windows users cant even get php started with apache I have tried apache2 w php5 , apache2 with php432 , apache 1.32 with php432 and following every single direction listed in the install docs it wont start and we get cant find dll .... kinda a drag to take hrs trying to figure out how to install software like this gives you thought to the internals if the setup docs are not meaningful. I mean even if it loaded then crashed that would be something Previous Comments: ------------------------------------------------------------------------ [2003-05-01 16:26:39] jcrutchf at yahoo dot com I had this same error on a Windows 2000 advanced server box, running Apache 2 and PHP 4.3.1. I was able to fix it by doing the following, quoted from _Sams Teach Yourself PHP, MySQL and Apache in 24 Hours_, page 51: "1. In the PHP installation directory, find the php.ini-dist file and rename it php.ini. 2. Move the php.ini file to C:\WINDOWS\ or wherever you usually put your *.ini files. 3. Move the php4ts.dll file to C:\WINDOWS\SYSTEM\ or wherever you usually put your *.dll files." Substituting C:\WINNT\* for C:\WINDOWS\*, Apache 2 started right back up, no reboot required. ------------------------------------------------------------------------ [2003-02-18 18:40:16] anterfire at hotmail dot com copy php4ts.dll to apache2/bin/ will be ok. ------------------------------------------------------------------------ [2002-11-27 07:45:13] Webmaster at SimsXXX dot com Hi Guys.. As I am working on some script development and I need a local webserver, I set the apache 2.0.43 with PHP 4.2.3 + MySQL 4.03 Max. As I install the apache 1x versions all comes normally, but as I have changed the apache with the newer one as i wrote, I got the same problem. How come the apache binary, cannot find php4apache.dll but finds php4apache2.dll, when they are in the same folder ??? That is Weird.. I have tried to move it around the apache folders and it is still comes out that silly error as the others did. I also have tried to change the loading module and got the same error as the others, letting me know that the isapi are compilled with different versions.. So what is next ? I still cant fix that bug, asking and sniffing around many sites, system administrators bla bla etc, and it is annoying.. Can anybody tell me what Am I doing wrong, or how to fix my php.. As I need newer version in PHP and Apache because some local security matters, and because I like to set the new stuff, I am still looking around for anybody can help me find out where I am wrong.. Please send me some sollutions.. I am downloading PHP 4.3.0 RC1 at the moment and will check is it going to meet the same problem... Hope it wont because that looks to me that it is not my fault of bad installation i thought at the begining... Thank You In Forward. Sincerely: Webmaster of SimsXXX.com ------------------------------------------------------------------------ [2002-11-13 06:24:16] mcdragon at email dot si Here I go again. I have tried usign apache2filter.dll - but I think that shouldn't be the case for the LATEST version. I also tried loading the module: php4apache2.dll: LoadModule php4_module d:/PHP/sapi/php4apache2.dll But this time I also added the php4apache2.dll file in the WINNT/System32 directory and this time I got a different message: apache.exe: module "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c"is not compatible with this version of Apache (found 20020628, need 20020903).Please contact the vendor for the correct version. This sounds like some other problems I have seen on forums. If there is a different sapi for apache2 you think it would be in the download zip, don't you think? ------------------------------------------------------------------------ [2002-11-13 05:58:01] mcdragon at email dot si I have the exactly the same problem. I have installed a few Apache with PHP and one of them was on this same machine. As I had to upgrade to a newer PHP it all went wrong. I thought it may be because of the older Apache version so this time I took Apache 2.0.43 and PHP 4.2.3 It still doesn't work. All the files are where they should be. I also put it in the WINNT/system32 directory By the way I have: Windows 2000 Server SP2. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16575 -- Edit this bug report at http://bugs.php.net/?id=16575&edit=1

« previous php.bugs (#44072) next »