note 27111 added to install.windows

From: Date: Sat, 23 Nov 2002 03:19:34 +0000
Subject: note 27111 added to install.windows
Groups: php.notes 
Request: Send a blank email to php-notes+get-39886@lists.php.net to get a copy of this message
If you are still wondering how to get Apache2 work with PHP 4.2.3, read this bug report -> http://bugs.php.net/bug.php?id=17826 And to point out the useful information (sorry for ripping this): [23 Oct 8:52pm] blalond@umich.edu 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 -- http://www.php.net/manual/en/install.windows.php http://master.php.net/manage/user-notes.php?action=edit+27111 http://master.php.net/manage/user-notes.php?action=delete+27111 http://master.php.net/manage/user-notes.php?action=reject+27111

« previous php.notes (#39886) next »