#31690 [Com]: user specific additions to php.ini

From: Date: Wed, 09 Feb 2005 14:13:27 +0000
Subject: #31690 [Com]: user specific additions to php.ini
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-73700@lists.php.net to get a copy of this message
ID: 31690 Comment by: rb at bitplan dot com Reported By: wf at bitplan dot com Status: Open Bug Type: Feature/Change Request Operating System: all PHP Version: 5.0.3 New Comment: we are developing a product and we need that feature badly. The goal is to have our own section in php.ini. Previous Comments: ------------------------------------------------------------------------ [2005-01-25 20:11:20] wf at bitplan dot com 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 this bug report at http://bugs.php.net/?id=31690&edit=1

« previous php.bugs (#73700) next »