register_globals problem

Asked by:
aparkcity
Time:
2012-08-30 6:34 am
Category:
General Server Setup
Hits:
293
Hi - does anyone know how to get in touch with webhosthub support?! I thought I was asking them a question but it appears i'm going to the whole community!! anyway, can't figure out how to turn "register_global" variable "ON". I changed the php.ini file but it is still showing as "off". Thanks for any help you can give me.

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

ScottM
2012-08-30 12:56 pm
Hello aparkcity,

You can contact WebHostingHub support department (open 24/7) by either email, phone or chat. Follow the link there to see phone numbers and email address.

As for your register_globals, simply turning it 'ON' will only work for that particular folder unless you have set it to be recursive within your .htaccess file. Recursive means that all folders under the one the php.ini resides will also use the file. If it is not set to be recursive the other folders will use the server defaults.

To set the php.ini to be recursive, simply log into your cpanel and go to the File Manager. (Be sure to check the box labeled "Show Hidden Files"). Once in the File Manager, right-click on the file named .htaccess and select Edit from the menu. After the editor opens up, simply place the following code at the top of the file:

suPHP_ConfigPath /home/username/public_html

Be sure to change 'username' to your cpanel username, the rest of the code line stays as is. Save the changes by clicking the button in the upper right corner.

The register_globals setting is deprecated in php version 5.3. This means that, while it currently exists, it should be avoided as it is to be removed in a future version. It will still work in 5.3, however. PhP 5.4 will no longer have the option at all.

Best Regards,
Scott M

You must login before you can post a comment about this answer.

Like this Question?

Have a Question?

If you need some help, submit your question to our Community! We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)

Recent Questions

  1. Site under brute force attack
  2. URLs in Installation of WordPress Don't Redirect
  3. Choosing a Directory With WordPress

Support Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.