ID: 33292 Updated by: [EMAIL PROTECTED] Reported By: doug_craig at charter dot net -Status: Open +Status: Verified Bug Type: Apache related -Operating System: Win 2000 5.00.2195 sp4 +Operating System: win32 only PHP Version: 5CVS-2005-06-10 (dev) New Comment:
Reproduced with Apache 1.3.33 Previous Comments: ------------------------------------------------------------------------ [2005-06-17 19:40:37] [EMAIL PROTECTED] Works fine with Apache2. ------------------------------------------------------------------------ [2005-06-14 01:02:06] doug_craig at charter dot net The expected results are copied from the PHP online documentation for apache_get_modules(). I've never actually seen the output of the function. Remember... that's what we're trying to fix :) My only PHP changes to httpd.conf are: LoadModule php5_module "c:/php/php5apache.dll" ... AddModule mod_php5.c ... <IfModule mod_dir.c> DirectoryIndex index.html index.php </IfModule> ... <IfModule mod_mime.c> TypesConfig conf/mime.types AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps </IfModule> I believe this is correct for PHP 5 only. Actually, I've never even downloaded, much less installed, PHP 4. So I don't think there could be a conflict. ------------------------------------------------------------------------ [2005-06-13 23:33:40] [EMAIL PROTECTED] Your expected result contains 'sapi_apache2' module, yet you're saying you use Apache 1.3.33 ? Are you possibly trying to load wrong PHP sapi module? Or are you trying to load both PHP 4 and 5 sapi modules the same time? ------------------------------------------------------------------------ [2005-06-13 18:04:59] doug_craig at charter dot net Stopped Apache service Uninstalled working 5.0.4 PHP Deleted C:\PHP tree Removed php.ini from C:\WINNT Confirmed no PHP DLLs in WINNT tree Unzipped snapshot (6/11/2005 4:54PM) into C:\PHP Copied php.ini-recommended to php.ini Set extension_dir to C:\PHP\ext in php.ini Uncommented extension=php_mysql.dll in php.ini Confirmed C:\PHP in PATH Confirmed PHPRC=C:\PHP in environment PHP LoadModule, AddModule, AddType in httpd.conf Started Apache service... running phpinfo() confirms 5.1.0-dev is running apache_get_modules() call gives same error :( One conclusion: PHP supplied 5.0.4 installer should not be used for 5.1 Other information: The only non-default Apache module I'm loading is PHP I am running localhost most of the time for Apache I am running Apache from port 888 For kicks I reconfig'd for standard port. Same error. ------------------------------------------------------------------------ [2005-06-13 11:23:59] [EMAIL PROTECTED] You don't need to use some installer, just plain copy the files..with apache, you can set the path to the libphp5.dll in the httpd.conf yourself.. ------------------------------------------------------------------------ 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/33292 -- Edit this bug report at http://bugs.php.net/?id=33292&edit=1