ID: 17826 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Apache2 related Operating System: Win32 PHP Version: 4.2.1 Assigned To: edink New Comment:
Hello. I figured this out. There is no other way than using a 2.0.36 version and apache2filter.dll ! That seems to work perfectly. Only problem is that where from you can find 2.0.36 version of the Apache. Here is location where from I downloaded it: http://apache.kr.net/dist/ I have now PHP 4.2.3, MySQL and Apache 2.0.36 up and running. I have done quite a few tests and I didn't face problems. In httpd.conf you need just following lines: LoadModule php4_module c:/www/bin/php4/experimental/apache2filter.dll DirectoryIndex index.php index.html index.html.var index.htm index.phtml index.php3 default.htm AddType application/x-httpd-php .php .php3 .phtml .php4 That all you need. Apache2filter.dll might be also problematic to find, but I found it from older PHP distributions (4.2.0, see http://ftp.proventum.net/pub/php/win32/) Greetings, Jari Hiltunen, aka OH4BC Previous Comments: ------------------------------------------------------------------------ [2002-10-04 00:02:29] [EMAIL PROTECTED] Sniper, the newest snapshot does not fix the problem here. Apache_2.0.43 doesn't read the php4apache2.dll correctly. Has anyone got this to work yet? ------------------------------------------------------------------------ [2002-10-03 19:12:10] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-10-03 08:05:03] [EMAIL PROTECTED] I have tried to get Apache 2.0.4.2 and PHP latest (tested many versions) working together, but I am not able to. I get similar erros what everybody else here. After two hours googling, yahooing etc. I found apache2filter.dll from old 4.20 package, but that doesn't work either. I am stuck with new Apacje 2.0 version and I don't have a clue how I can get my Apache/MySQL/PHP server functioning (except roll-back from backups). Apache developers should display warning that PHP doesn't work with Apache2 ! ------------------------------------------------------------------------ [2002-10-02 22:11:54] [EMAIL PROTECTED] My version is doing same thing, cannot load C/PHP4/sapi/php4apache2.dll into server, specified procedure cannot be found XP Pro SP1 Apache 2.0.42 PHP 4.2.3 I even tried the older version of the dll, no luck, I also tried to load the module directly into the modules directoy, no luck, does php4ts.dll need to be specified, as it always has to run/ Off to try that now. Tim ------------------------------------------------------------------------ [2002-09-04 03:20:01] [EMAIL PROTECTED] Right.. It is now september... I just dl'ed the latest (i may hope) php4.2.2 zipped distribution. Running XP Pro Apache 2.0.40 And i get this error in the application log: The Apache service named reported the following error: >>> Cannot load G:/php-4/sapi/php4apache2.dll into server: Can't find stated procedure. One would think this had been solved from what i read above... Off to find "newer" releases now.. ------------------------------------------------------------------------ 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/17826 -- Edit this bug report at http://bugs.php.net/?id=17826&edit=1