Re: ini_set fails every time with the command line

From: Date: Sat, 23 Jun 2007 07:01:51 +0000
Subject: Re: ini_set fails every time with the command line
References: 1 2  Groups: php.pear.general php.pear.general 
Request: Send a blank email to pear-general+get-27544@lists.php.net to get a copy of this message
Well, they're all custom options... from the php.ini file I'm reading from: mds.port_num=7092 mds.lib_path=mds_home/lib and so on. Is it not possible to set custom options with ini_set? As in: ini_set("mds.port_num", "7092"); Mark Chuck Burgess wrote:
On 6/22/07, Mark Slater <lists@humanesoftware.com> wrote:
Is there something in PHP that prevents the ini_set function from being used when php is running on the command line? Can anyone suggest another way to handle this?
The only thing that comes to my mind is what I had previously discovered about the memory_limit setting... if you wanted to be able to modify it via INI and ini_set, then support for that had to be compiled in. Maybe doublecheck the specific options you're trying to modify, to be sure the PHP docs don't say that support has to be compiled into PHP itself.


« previous php.pear.general (#27544) next »