php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20983 cmd line option -dextension_dir not correctly honored
Submitted: 2002-12-13 02:42 UTC Modified: 2003-03-09 18:45 UTC
From: sven dot schnitzke at t-online dot de Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4CVS-2002-12-13 (dev) OS: Win98
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sven dot schnitzke at t-online dot de
New email:
PHP Version: OS:

 

 [2002-12-13 02:42 UTC] 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-09 18:45 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 19:01:29 2024 UTC