Re: PHP.ini setup, config, installation & recognition?

From: Date: Sat, 22 Jan 2005 10:23:24 +0000
Subject: Re: PHP.ini setup, config, installation & recognition?
References: 1  Groups: php.general php.install 
Request: Send a blank email to php-general+get-207036@lists.php.net to get a copy of this message
On Saturday 22 January 2005 18:08, Joseph E. Maxwell wrote: > Hello, > > I am setting up a program that requires allow_call_time_pass_reference to > be enabled. I've set allow_call_time_pass_reference = ON in the > /usr/local/etc/php.ini file > > grep -n allow_call_time_pass_reference /usr/local/etc/php.ini > 70: - allow_call_time_pass_reference = 1 [Code cleanliness] > 167:allow_call_time_pass_reference = 1 > > But the program still calls for the option to be enabled. So I have run a > test file with the ini_get function, the code below. ------code------- > <html> > <head> > <title>Test Page</title> > </head> > <body bgcolor=#FFFFFF text=#000000> > <?php echo ini_get('allow_call_time_pass_reference'); ?> > </body> > </html> > ----end code----- > > Output page ==> blank > > /usr/local/etc/php.ini has permissions set to 444 and listed in > phpinfo.php > > Suggestions? You don't say whether you restarted apache; this is required to read and utilise the changes to php.ini. -- David Robley That does not compute.

« previous php.general (#207036) next »