Is there a way for us to turn off registered global's from a shared hosting account on AABOX?
Thanks
Is there a way for us to turn off registered global's from a shared hosting account on AABOX?
Thanks
Yes - I asked this the other day! I also asked them to add it to their knowledge base. Here is the extract.
Regards,We have to keep globals on for the huge amount of customers per server that run outdated software. It is easy to turn off via your own custom php.ini file.
First, add this to .htaccess in your public_html directory:
# Custom php.ini settings
suPHP_ConfigPath /path/to/custom/php.ini/
<Files php.ini>
order allow,deny
deny from all
</Files>
Then at the above suPHP_ConfigPath, create a php.ini file, changing those that you require, like register_globals=off
Last edited by pgmarshall; 06-22-2011 at 10:06 AM.
pgmarshall
_______________________________
Thank you so much PG,
but i think I'm missing something...I create the php.ini file in my public_html directory with globals off, but that had no effect. What else am I missing? I also tried turning globals off in the .htaccess file, but i got a 500 site error.
bh
Got it! Your instructions posted worked perfectly!!! Had to take a second look![]()
Bookmarks