How to enable register_globals for PHP5?
If your server is configured with suphp, here is now to enable register_globals for php5:
- Create a file named php.ini and insert this into it:
register_globals = On - Upload this file to inside your public_html folder
- Create a file named .htaccess and put this into it:
SuPHP_ConfigPath /home/acc_username/public_html/php.iniWhere acc_username is your account username
- Put this .htaccess into inside public_html and that should be it.
If your server doesn’t have suphp, here is how to enable register_globals:
- Create a file named .htaccess and put this into it:
php_value register_globals 1 - Upload this .htaccess to inside your public_html folder
- Done
Related Posts:
No related posts.
acctman
does SuPHP_ConfigPath /home/acc_username/public_html/php.ini mean /opt/suphp/etc/suphp.conf /home/site1/public_html/php.ini
admin
It means:
SuPHP_ConfigPath /home/site1/public_html/php.ini