Portal HomeClient AreaAnnouncementsKnowledgebaseSupport TicketsDownloads

Knowledgebase
You are here: Portal Home > Knowledgebase > Enable register_globals

Enable register_globals

Add the following line to your .htaccess file, which will make your php.ini changes site-wide:

 

There are 2 steps necessary to enable register_globals on a server running suPHP. First, you will need to create a file in your public_html directory called 'php.ini' and put the following text in that file to enable register_globals:


register_globals = On


Second, you need to edit the .htaccess file in public_html and add the following to tell Apache where to find your updated php.ini file:


suPHP_ConfigPath /home/yourusername/public_html/php.ini


(replace 'yourusername' with your cpanel username)



Was this answer helpful?

Add to Favourites
Print this Article

Powered by WHMCompleteSolution


Language: