From: sskaje at gmail dot com Operating system: Windows XP sp3 PHP version: 5.3CVS-2008-08-10 (snap) PHP Bug Type: Reproducible crash Bug description: apache2 crashes unless i have php5ts.dll in %windir%
Description: ------------ Windows xp + apache 2.2.9 + php 5.3.0-dev In httpd.conf, i have following configuration for php: [code] # For PHP 5 do something like this: LoadModule php5_module "h:/server/php53/php5apache2_2.dll" AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps # configure the path to php.ini PHPIniDir "h:/server/php53" [/code] On php5.3, i have to copy php53\php5ts.dll to %windir%. Otherwise there is a popup error when i have windows started which has apache crashed on starting up(i have apache2 installed as a system service and have it running automatically ), and when i tried to start apache again with 'httpd -k start', a similar error was popup-ed. So, %windir%\php5ts.dll of php5.3 seems to be necessary, but when i have php5ts.dll cp-ed to \windows and then apache running, i can remove %windir%\php5ts.dll as i want. Hmm, that makes me feel that the php5ts.dll under %windir% is not necessary as it looks like. So i took a test: [code] C:\WINDOWS> C:\WINDOWS>move php5ts.dll _php5ts.dll C:\WINDOWS>echo > php5ts.dll C:\WINDOWS>dir *php5* Çý¶¯Æ÷ C ÖеľíûÓбêÇ©¡£ ¾íµÄÐòÁкÅÊÇ E854-17BC C:\WINDOWS µÄĿ¼ 2008-08-10 16:05 21 php5ts.dll 2008-07-31 23:42 5,251,128 _php5ts.dll 2 ¸öÎļþ 5,251,149 ×Ö½Ú 0 ¸öĿ¼ 20,189,646,848 ¿ÉÓÃ×Ö½Ú C:\WINDOWS>type php5ts.dll ECHO ´¦ÓÚ´ò¿ª×´Ì¬¡£ C:\WINDOWS>httpd -k restart Warning: DocumentRoot [H:/SVN/newborn/pages] does not exist C:\WINDOWS> [/code] It works normally as it should be. The conclusion is, i dont really have a php5ts.dll copied to %windir%, but i have, at least, a file named php5ts.dll there, no matter what is in it, if i wanna my apache+php5.3 work -- Edit bug report at http://bugs.php.net/?id=45776&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45776&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45776&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45776&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=45776&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=45776&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=45776&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=45776&r=needscript Try newer version: http://bugs.php.net/fix.php?id=45776&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=45776&r=support Expected behavior: http://bugs.php.net/fix.php?id=45776&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=45776&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=45776&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=45776&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45776&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=45776&r=dst IIS Stability: http://bugs.php.net/fix.php?id=45776&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=45776&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=45776&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=45776&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=45776&r=mysqlcfg