I have the register_globals disabled server wide, how can i enable it in my account?

This option is available in all our shared cPanel hosting accounts but may be unavailable depending the selected PHP version.

Please note if your script is needing register_globals then most probably is outdated, we highly recommend update your script instead. Note also latest php versions have this variable depreciated.

To enable register_gloabls, first we recommend use the PHP Selector through your cpanel to make this change, if you wish to make this change manually then create or edit the .htaccess file in the directory where you wish activate register_globals and add the following line in it:

<IfModule lsapi_module>
php_value register_globals On
</IfModule>

Note: register_globals enabled could be a security hole in your account, well coded scripts dont need it, but some scripts need it. Use it at your own risk.

 

Was this answer helpful? 0 Users Found This Useful (1000 Votes)

Powered by WHMCompleteSolution