ID: 18129 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Win32 PHP Version: 4.2.1 New Comment:
PHP 4.2.2 works fine on Apache 2.0.39 as sapi module, but doesn't work on recently released 2.0.40. "H:\Programmi\Apache Group\Apache2\bin\Apache.exe" -w -t -f "H:\Programmi\Apache Group\Apache2\conf\httpd.conf" -d "H:\Programmi\Apache Group\Apache2\." Syntax error on line 134 of H:/Programmi/Apache Group/Apache2/conf/httpd.conf:Cannot load H:/php/sapi/php4apache2.dll into server: Impossibile trovare il modulo specificato. "Impossibile trovare il modulo specificato." in English means "Cannot find specified module"... Do you have some suggestion ? Thanks Previous Comments: ------------------------------------------------------------------------ [2002-08-06 09:17:59] [EMAIL PROTECTED] The .dll problem part of this bug is solved in 4.2.2 release. ------------------------------------------------------------------------ [2002-08-06 02:32:46] [EMAIL PROTECTED] To clarify. Yes, the supplied module (dll) php4apache2.dll does not work properly. I cannot say as to what the issue is with is, other than it does not load properly or at all. This is what I did for it to work. You can download and check the modified DLL file (not mine) and see how it was fixed/modified. ------------------------ Link: http://freemirc.com/miki/php4apache2.dll Download and replace it, with the existing one in your "x:\php\sapi" AFTER THAT change/add these lines to htppd.conf LoadModule php4_module x:\php\sapi\php4apache2.dll AddType application/x-httpd-php .php .php3 .php4 .phtml ------------------------ Worked for me and for good measure I did the same steps on another Win 2k server and had the same results. Without the modified DLL file, it wouldn't work. ------------------------------------------------------------------------ [2002-07-13 22:31:56] [EMAIL PROTECTED] jhansch1, this bug report already has two bugs to deal with, they are: a) index.txt lacks apache2 docs (confirmed)b) A possible broken php4apache.dll (doubtful, try latest) Please don't bring other issues into this bug report and ask support questions to php.net/support ------------------------------------------------------------------------ [2002-07-13 22:19:52] [EMAIL PROTECTED] I'm having problems with Apache 2.0.39 and PHP 4.2.1. I downloaded the new php4apache2.dll and put it in the sapi folder, and added the lines: #### START PHP LoadModule php4_module "C:\Program Files\Apache Group\PHP\sapi\php4apache2.dll" AddType application/x-httpd-php .php .phtml .php3 #### END PHP into my httpd.conf. The path to the file is correct, but whenever I try to start it, I get an error. When I run the test-configuration link in the apache program group, it says it "cannot find the module" but the file is there :\ Anyone have any other ideas? ------------------------------------------------------------------------ [2002-07-13 01:05:40] [EMAIL PROTECTED] install.txt should mention something about apache2 (currently it's not afaict), like how about: (a) php4apache.dll is for apache1.x.x not apache2 (b) php4apache2.dll is for apache2 but (c) apache2 support is experimental in PHP Also, is this report saying that the distributed apache2 dll is broken? Please verify. * http://cvs.php.net/cvs.php/php4/win32/install.txt ------------------------------------------------------------------------ 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/18129 -- Edit this bug report at http://bugs.php.net/?id=18129&edit=1 -- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php