From: [EMAIL PROTECTED] Operating system: Win98 PHP version: 4CVS-2002-12-13 (dev) PHP Bug Type: Reproducible crash Bug description: cmd line option -dextension_dir not correctly honored
OS: Win98 SE Setup: php 4.4-dev Dec 10 8:29, no PHP related stuff in any Windows or System folder, php folder and sub out of zip unchanged except php.ini Sorting out inst issues I stumbled over following behaviour: Scenario a: Dos Box, Current dir = dir containing php.exe, php.ini states a wrong extension dir, holding outdated exts I say :"php.exe c:\abc\def.php" No complains about missing or wrong ext mods this is a script doing socket stuff. It begins to run, opens, binds, listens to a socket, and recognizes a connection request from a telnet client. Then it dies with a page fault on socket_read when the client wants to submit the first character. Oddly enough it gets as far but ok as the ext dir is wrong anyway. Scenario b: I fix extension_dir using "-dextension_dir=path" on the commandline. echo ini_get('extension_dir') shows the correct location BUT: The script dies when it comes to reading the first character from the client Scenario c: I fix php.ini, just changing extension_dir to point to the correct location. Everything works fine. Both extension_dir specs can be given rel and abs. Same symptoms. -- Edit bug report at http://bugs.php.net/?id=20983&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20983&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20983&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20983&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20983&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20983&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20983&r=support Expected behavior: http://bugs.php.net/fix.php?id=20983&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20983&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20983&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20983&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20983&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20983&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20983&r=isapi