ID: 24416 Comment by: nuno at dbforums dot com Reported By: ldf13 at hotmail dot com Status: Bogus Bug Type: Apache2 related Operating System: Windows XP PHP Version: 5CVS-2003-06-30 (dev) New Comment:
Thankfully to strace (an amazing little tool BTW) and install.txt (duh), I finally managed to install PHP5 with Apache2.0.46. Therefore, I need to eat my words and I would like to take this opportunity to present my sincere apologies to the PHP Team. To sniper, a special thank you for his support. Best wishes, nuno :) Previous Comments: ------------------------------------------------------------------------ [2003-07-01 16:37:55] aaron at gwmicro dot com I take back my comments about getting this working, sort of. I still have one machine running Apache2 2.0.46, and PHP 5.0.0b2-dev successfully. I have another machine, however, running Apache2 2.0.46 and PHP 5.0.0b2-dev unsuccessfully. What bothers me is that the paths on both systems are EXACTLY the same. So I copied both the Apache2 dir, and the PHP dir to the second machine thinking that, since everything is already working, it ought to just work on the second machine. Foolish me: Cannot load D:/PHP/sapi/php4apache2.dll into server: The specified procedure could not be found. "Specified procedure could not be found." Hmmm...that is certainly different from the original error of "The specified module could not be found." We're finding the module, but we're not finding the procedure, which makes me think that the php4apache2.dll ain't the right one for this Apache (I remember fighting this battle with the PHP 4.3.X versions), but it works perfectly on the first machine, and the directories are identical! Color me confused... Both machines are Windows XP Pro, Athlon 1.4Ghz, 512MB RAM, practically identical in every way, including the software that is installed. Aaron ------------------------------------------------------------------------ [2003-07-01 13:37:53] nuno at dbforums dot com Please forgive my ignorance but, how's that suppose to help? [quote] "Syntax error on line 169 of C:/Apache2/conf/httpd.conf: Cannot load C:/Apache2/modules/php4apache2.dll into server: The specified module could not be found" [/quote] Line 169: LoadModule php5_module modules/php4apache2.dll Can you enlighten me further about this error and how to resolve it? Thank you. ------------------------------------------------------------------------ [2003-07-01 13:24:36] [EMAIL PROTECTED] See the error message Apache gives? Try READING it. ------------------------------------------------------------------------ [2003-07-01 13:22:58] nuno at dbforums dot com You are correct, iconv.dll was in fact missing...but still no dice, Apache 2.0.46 simply refuses to start. Now testing with http://snaps.php.net/win32/php5-win32-latest.zip and nothing, same error message over and over again. "Syntax error on line 169 of C:/Apache2/conf/httpd.conf: Cannot load C:/Apache2/modules/php4apache2.dll into server: The specified module could not be found" SPECS: OS: Win2K Apache Ver: Apache 2.0.46 PHP Ver: php5-win32-latest //httpd.conf . . LoadModule php5_module c:/php/sapi/php4apache2.dll AddType application/x-httpd-php .php // php.ini file in the C:/WINNT directory. php4ts.dll file in the C:/WINNT/System32 directory. php4apache2.dll is definitely in C:/php/sapi/ What am I missing? :( ------------------------------------------------------------------------ [2003-07-01 12:26:24] aaron at gwmicro dot com I too had been having this problem. Turns out that running PHP from the command line also yielded problems: php.exe - Unable To Locate Component This application has failed to start because iconv.dll was not found. Re-installing the application may fix this problem. Copying iconv.dll to the root of my PHP dir solved the problem. I also topped it off with the latest snapshot as well, and am now successfully running 5.0.0b2-dev with Apache 2.0.46. I hope this helps someone, as trying to solve this problem was starting to get a bit frustrating. Aaron ------------------------------------------------------------------------ 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/24416 -- Edit this bug report at http://bugs.php.net/?id=24416&edit=1