Results 1 to 4 of 4
Hybrid View
-
04-15-2005, 12:44 PM #1Web Hosting Guru
- Join Date
- Feb 2002
- Location
- Montreal, Canada
- Posts
- 269
Can I turn register_globals off in WHM?
If not then would someone be able to tell me how to turn it off quickly?
thanks
-
04-15-2005, 12:56 PM #2Web Hosting Master
- Join Date
- Jan 2005
- Location
- Minneapolis, MN
- Posts
- 966
Edit /etc/php.ini and do a search for register_globals. Set it to Off. Restart Apache.
Doyle Lewis
BuyHTTP Internet Services - In business since 2003
Business Hosting | nginx, CloudLinux, Varnish cache, and CDP with every business account
Shared, Reseller, Semi Dedicated, VPS, Cloud, Dedicated - We can grow with you
-
04-15-2005, 01:01 PM #3Web Hosting Guru
- Join Date
- Feb 2002
- Location
- Montreal, Canada
- Posts
- 269
I'm sorry to be such a newb but can you tell me the SSH commands to execute this task?
-
04-16-2005, 04:15 AM #4Web Hosting Master
- Join Date
- Jul 2002
- Location
- Malaysia
- Posts
- 702
1. pico /etc/php.ini
2. press CTRL+W ( to search for specific keyword ), then enter "register_globals" , hit enter
3. when you reach the variable, you will see it is either "on" or "off" and set it accordingly as you wish
4. once done, CTRL+X, it will ask u whether to save the file, type "y" and hit enter
5. restart apache by running "service httpd restart"