Home > apache cannot > apache cannot error load php php4apache.dll

Apache Cannot Error Load Php Php4apache.dll

15:57 UTC From: Markus_Heiden at public dot uni-hamburg dot de Assigned: Status: Not a bug Package: Apache2 related PHP Version: 4.1.2 OS: Windows XP Professional Private report: No CVE-ID: View Add Comment Developer Edit [2002-04-12 14:10 UTC] Markus_Heiden at public dot uni-hamburg dot de I am not able to load the php4apache.dll with apache2, it only says Syntax error on line 173 of E:/Apache2/conf/httpd.conf: Cannot load E:/php/sapi/php4apache.dll into server: Das angegebene Modul wurde nicht gefunden. but the module if definitly there and all other dlls are copied like the doku said. Where can I get php error output in such cases (there is nothing in the apache logs)? BTW others (from a newsgroup) seem to have the problem too, but still no solution... Patches Add a PatchPull Requests Add a Pull RequestHistoryAllCommentsChangesGit/SVN commitsRelated reports [2002-04-12 15:57 UTC] cmk@php.net You can't load the Apache 1 sapi into Apache 2. You have to load apache2filter.dll. Grab PHP 4.2.0 RC3, which will include the file you need. [2002-04-26 16:44 UTC] luna at enst dot fr If it can help, I tried to make an installation doc at: http://137.194.8.83/ATSEC/PHP4Apache2Windows.html [2003-02-18 18:40 UTC] anterfire at hotmail dot com copy php4ts.dll to apache2/bin/ will be ok. [2003-05-01 16:26 UTC] 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

11:44 UTC From: sonnysavage at yahoo dot com Assigned: Status: Not a bug Package: Apache related PHP Version: 4.0.5 OS: Windows NT 4.0 Build 1381 Private report: No CVE-ID: View Add Comment Developer Edit [2001-05-02 16:35 UTC] sonnysavage at yahoo dot com I have PHP being loaded as an Apache module. I am using Apache 1.3.19. I am using the standard Win32 binary release for both PHP and Apache. Here is the line from my httpd.conf file: LoadModule php4_module c:/php/sapi/php4apache.dll I get this error message when trying to start apache: ===================================================== Syntax error on line 182 of c:/program https://bugs.php.net/bug.php?id=16575 files/apache group/apache/httpd.conf: Cannot load c:/php/sapi/php4apache.dll into server: (127) The specified procedure could not be found: Note the errors or messages above, and press the (ESC) key to exit. ===================================================== If I replace the 4.0.5 dll with version 4.0.4pl1, it works just fine. Patches Add a PatchPull Requests Add a Pull RequestHistoryAllCommentsChangesGit/SVN commitsRelated reports [2001-05-03 06:22 UTC] dbeu@php.net unable to repsoduce in the same environment. i guess you https://bugs.php.net/bug.php?id=10619 haven't replaced everything with the new build. [2001-05-03 10:06 UTC] sonnysavage at yahoo dot com I tried again, and here are the steps that I took: 1) I uninstalled and removed all files for both PHP and Apache. 2) I unzipped PHP 4.0.5, copied the "php.ini-dist" to "php.ini" in my WinNT folder, Rebooted, Installed Apache 1.3.19, added this line to my httpd.conf file "LoadModule php4_module c:/php/sapi/php4apache.dll" (as well as other configurations). 3) When starting Apache, I get the exact same error as before. 4) I replaced the 4.0.5 version of the php4apache.dll with the 4.0.4pl1 version, and Apache started without a hitch. [2001-05-03 11:09 UTC] sonnysavage at yahoo dot com I have solved the problem. I didn't copy the new php4ts.dll to my sys directory. Another problem however is that the Zend optimizer doesn't work. I have version 1.1.0 and it gives me a pile of errors. I commented the zend lines out of my php.ini, and the php apache module loads fine now. [2001-05-03 11:11 UTC] sonnysavage at yahoo dot com Here is a link to a similar thread on phpbuilder.com: http://www.phpbuilder.com/forum/read.php3?num=3&id=104846&loc=0&thread=104846 [2001-05-03 11:20 UTC] cynic@php.net you don't need to have php4ts.dll in windows/system/, just leave it in the directo

your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to http://board.phpbuilder.com/showthread.php?93461-cannot-load-php4apache-dll-in-apache/page2 proceed. To start viewing messages, select the forum that you want to visit from the selection below. Page 2 of 3 First 123 Last Jump to page: Results 16 to 30 of 39 Thread: http://www.sitepoint.com/forums/showthread.php?84238-Can-t-LoadModule-php4_module cannot load php4apache.dll in apache Tweet Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded apache cannot Mode 01-13-2002,01:29 AM #16 Anon View Profile View Forum Posts Senior Member Join Date Jun 2000 Posts 65,357 RE: cannot load php4apache.dll in apache Yeah, i think the shotgun approach will definitely cover all the bases... but I think I saw a problem in Ankur posted I previously said watch for the "quotes" but now after looking at my paths, etc.... My install is working as intended apache cannot error now, so ill just give you what I see I have php4ts.dll in the sysdir as Geoff is saying...but I have php4apache.dll in the /sapi directory same as Ankur. so i have the line LoadModule php4_module "C:\program files\apache group\apache\php\sapi\php4apache.dll" and of course i have the Addtype lines in there, just as Geoff is saying... I think the problem after looking at it again and again and not seeing it previously is that if you look, Ankur, at your post, you have listed: ************************** // ...httpd.conf LoadModule php4_module "c:/php/sapi/php4apache.dll" // ...after restarting apache Syntax error on line 803 of c:/program files/apache group/apache/conf/httpd.conf : Cannot load c:/php/sapi/php4apache.dll into server: (126) The specified module c ould not be found: ************************** It's the Unix vs. Win thing...you have to change your path's backslashes... Its not that you are copying anything to a wrong directory or that you are "typing" anything incorrectly other than the slashes... caveat...I hope.... :) I hope that does it Reply With Quote 01-17-2002,11:20 AM #17 Anon View Profile View Forum Posts Senior Member Join Date Jun 2000 Posts 65,357 RE: cannot load php4apache.dll in apache thanks for your help geoff. I got up to the point where I dont se

Web Design Can't LoadModule php4_module The SitePoint Forums have moved. You can now find them here. This forum is now closed to new posts, but you can browse existing content. You can find out more information about the move and how to open a new account (if necessary) here. If you get stuck you can get support by emailing forums@sitepoint.com If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. SitePoint Sponsor User Tag List Results 1 to 5 of 5 Thread: Can't LoadModule php4_module Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode Nov 15, 2002,00:45 #1 Oswrd View Profile View Forum Posts SitePoint Member Join Date Nov 2002 Location Hong Kong SAR Posts 3 Mentioned 0 Post(s) Tagged 0 Thread(s) Can't LoadModule php4_module I follow the instruction to add a line in the httpd.conf LoadModule php4_module c:/php4/sapi/php4apache.dll After adding this LoadModule couldn't start apache. I was returned with an error message as follows: Cannot load c:/php4/sapi/php4apache.dll into server: The specified module could not be found After commented it out everything seems fine, I'm running php4 and apache under windows XP pro Any idea? Nov 15, 2002,14:45 #2 mbenson View Profile View Forum Posts SitePoint Enthusiast Join Date Sep 2002 Posts 88 Mentioned 0 Post(s) Tagged 0 Thread(s) how did you install php? Is the file acctually there? You should have these lines in the .conf file LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php Nov 15, 2002,19:56 #3 Oswrd View Profile View Forum Posts SitePoint Member Join Date Nov 2002 Location Hong Kong SAR Posts 3 Mentioned 0 Post(s) Tagged 0 Thread(s) The php installation is pretty much as defualt. Unzip to c:/php4 and the php.ini is pretty much as in default as well. The php4apache.dll is physically in php4/sapi/ I can install php with a

 

Related content

No related pages.