Dynamically change php ini variable -


i have purchase godaddy linux shared hosting. in site there 1 php.ini file in root(/) directory. requirement have set ini paramete output_buffering=on not take effect in site. because after changing ini setting need restart server, godaddy's shared server not able restart server. have talked in support. no result. can 1 give solution how can php.ini change take effect without restart apache server.

i have tried setting in .htacces php_value output_buffering on won't work.

one solution use ini_set(). http://ca1.php.net/ini_set

ini_set('output_buffering', 'on'); 

of course not ideal, have call wherever want output buffering enabled.


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -