#20983 [Opn->Fbk]: cmd line option -dextension_dir not correctly honored
| From: | iliaa@php.net | Date: | Thu, 27 Feb 2003 16:46:32 +0000 |
| Subject: | #20983 [Opn->Fbk]: cmd line option -dextension_dir not correctly honored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-34451@lists.php.net to get a copy of this message | ||
ID: 20983
Updated by: iliaa@php.net
Reported By: sven dot schnitzke at t-online dot de
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: Win98
PHP Version: 4CVS-2002-12-13 (dev)
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-12-13 02:42:43] sven dot schnitzke at t-online dot de
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 this bug report at http://bugs.php.net/?id=20983&edit=1