Re: ini_set
| From: | colin mcdonald | Date: | Wed, 10 Jul 2002 13:20:20 +0000 |
| Subject: | Re: ini_set | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14668@lists.php.net to get a copy of this message | ||
Robert wrote:
hello list, ini_set and his alias ini_alter, seems not to work under win 2000 enviroment with php 4.2.1there are restrictions to init_set that you should read in the manual. namely, some settings cannot be changed, some can only be changed in certain places and some with no restrictions, etc.
Any suggestions about fixing the problem. Parse the php.ini file with preg_match could be an idea, but ini_set is easy and fast.ini_set does not permanently change the value from php.ini, it only changes the value for the execution of your script. colin