#34136 [NEW]: php.ini path humbug
| From: | x2uk at compuserve dot de | Date: | Mon, 15 Aug 2005 13:10:31 +0000 |
| Subject: | #34136 [NEW]: php.ini path humbug | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-83595@lists.php.net to get a copy of this message | ||
From: x2uk at compuserve dot de
Operating system: w2k
PHP version: 5.1.0b3
PHP Bug Type: *Configuration Issues
Bug description: php.ini path humbug
Description:
------------
What php.ini says :
; PHP looks for it
; - in the current working directory,
; - in the path designated by the environment variable PHPRC, and
; - in the path that was defined in compile time (in that order).
That's humbug !
It was true for PHP502, though, but not PHP 5.1.0b3.
I had to put that sodden file into the Windows dir.
After that it was read the extension_dir set properly.
Why the hell has php.ini to reside there again ?
You had it right for PHP502 !!!
Besides, one can install PHP w/i minutes !!! -
provided you work & documentation wouldn't be so sluggishly wrong.
Reproduce code:
---------------
Installation PHP510b3
Expected result:
----------------
PHP510b3 ought to find php.ini in the directory where it resides itself -
according to the documention w/i php.ini itself and according to
php_manual_en.chm.
Actual result:
--------------
PHP510b3 won't find php.ini, as documented,
and therfore the extension_dir will be wrongly set.
--
Edit bug report at http://bugs.php.net/?id=34136&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34136&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34136&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34136&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34136&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34136&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34136&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34136&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34136&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34136&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34136&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34136&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34136&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34136&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34136&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34136&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34136&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34136&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34136&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34136&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34136&r=mysqlcfg