From: wf at bitplan dot com
Operating system: all
PHP version: 5.0.3
PHP Bug Type: Feature/Change Request
Bug description: user specific additions to php.ini
Description:
------------
a) When adding user specific entries to php.ini these are not returned.
b) the location of php.ini is not available via a standard function
The combination of a + b makes it almost impossible to have user specific
additions to php.ini
So ini_get() should allow to read user specific entries
and/or the php.ini location should be available as a variable or via
ini_get
Reproduce code:
---------------
a)
php.ini contains:
uml2phphome = "c:/Programme/BITPlan/UML2PHP"
<?php
echo ini_get("uml2phphome");
?>
b)
echo PHP_INI_PATH;
Expected result:
----------------
a) c:/Programme/BITPlan/UML2PHP
b) c:/Windows/PHP.INI on my windows machine
/usr/local/lib/php5.0.3/php.ini on my linux machine
Actual result:
--------------
nothing
--
Edit bug report at http://bugs.php.net/?id=31690&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31690&r=trysnapshot4
Try a CVS snapshot (php5.0):
http://bugs.php.net/fix.php?id=31690&r=trysnapshot50
Try a CVS snapshot (php5.1):
http://bugs.php.net/fix.php?id=31690&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31690&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31690&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31690&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31690&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31690&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31690&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31690&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=31690&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=31690&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31690&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31690&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31690&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31690&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31690&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31690&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31690&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31690&r=mysqlcfg