register_globals On

register_globals On


1) Make a folder called suphpconfig inside /home/username

2) create a new file called php.ini inside /home//suphpconfig/

3) Add the following code in /home/username/suphpconfig/php.ini  

register_globals = On  

4) Create a file called .htaccess insde /home/username/public_html folder and add the following code in .htaccess file :  

suPHP_ConfigPath /home/username/suphpconfig  

where username is your cpanel account username. Now register_globals is on for your site, even if it is turned off on the server.

  • 1 أعضاء وجدوا هذه المقالة مفيدة
هل كانت المقالة مفيدة ؟

مقالات مشابهة

Enable/Disable certain php functions for your website

Create a folder named suphpconfig inside your home directory i.e. /home/cpanelusername and add...

mod_userdir Protectio

We have enabled mod_userdir Protection on the server. Apache's mod_userdir allows...

suphp more info

Advantages of suphp1) suphp allows php files to run as the cpanel user instead of apache user (...

suphp tips

This is the most flexible way of serving PHP requests and tends to be very secure. PHP scripts...

How do I send email from ASP using SMTP Authentication.

Please note that our mail server is configured with Authentication. Below is...

Powered by WHMCompleteSolution