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:
In Addition: While checking if PHP is working keep in mind clearing the browser cache! I thought my Apache2 server continues not work with PHP but the only thing was Mozilla keeping in mind the last access type of the URL... Previous Comments: ------------------------------------------------------------------------ [2002-10-23 20:52:51] [EMAIL PROTECTED] If you're getting "Cannot load C:/php4/sapi/php4apache2.dll into server: The specified module could not be found." or "apache: module "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" is not compatible with this version of Apache (found 20020628, need 20020903)." I got it working and this is everything I did: 1. Download: a. Apache: apache_2.0.43-win32-x86-no_ssl.msi b. PHP: php-4.2.3-Win32.zip c. Latest PHP Snap: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip 2. Install a. apache b. PHP (by upzipping and renaming dir to "c:\php" 2. Copy c:\php\php.ini-recommended to c:\windows\php.ini 3. Edit c:\php.ini -doc_root = [current apache doc root] -extension_dir = C:\php\extensions 4. Copy c:\php\php4ts.dll to c:\winnt\system32\ 4. Copy php4apache2.dll from the c. Snap zip file to c:\php\sapi\ 6. Edit Apache's configuration file and add: LoadModule php4_module c:/php/sapi/php4apache2.dll AddType application/x-httpd-php .php ------------------------------------------------------------------------ [2002-10-23 08:35:31] [EMAIL PROTECTED] Well that is certainly frustrating. Thanks for the fix. I already downgraded to Apache 1.3, and everything on my end is working. PHP could certainly do with some good technical writing. ------------------------------------------------------------------------ [2002-10-19 21:36:33] [EMAIL PROTECTED] Darn. but i also did something really stupid: In addition to everything I made an extra copy of php4ts.dll and placed it in the root directory of Apache2 after I did that stupid .reg thing. It works! But I dunno if that will cause errors later on... ------------------------------------------------------------------------ [2002-10-19 21:20:43] [EMAIL PROTECTED] Ladie and Gentlemen, with all the troubles and hours spent, did you guys hit the pws-php4isapi.reg in the isapi folder? Before doing so I configured Apache 2.043, and PHP 4.2.3 downloaded at http://snaps.php.net/win32/php4-win32-latest.zip. I was convinced at first that the php4apache2.dll was corrupt and the server would not restart. Then with the server stopped I double-clicked the .reg file and the server restarted. Make sure you do follow all the proper steps in the most recent documentations. Hope this helps, I've spent hours upon hours before taking this silly step that is not documented. Oh by the way I'm running WINDOWS XP PRO. ------------------------------------------------------------------------ [2002-10-18 15:49:10] [EMAIL PROTECTED] MAJOR problems with the development version of PHP (October 18th) and x86 Apache 4.0.43. I have tried on two seperate servers, and both have Apache crash when PHP and MySQL interact. I'm so tired. If anyone else has this problem and knows a fix, please let me know. PHP developers, maybe there is a problem with php4apache2.dll? ------------------------------------------------------------------------ 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