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
Post a Comment