|
Answer
by: George Kaloyanov, Aplus.Net Knowledge Base Support
The
PHP directive “register_globals”
is disabled by default mainly because of the security holes it
potentially leaves open. This is primarily accomplished by un-initialized
or “poisoned” variables which
threaten improperly coded scripts that rely on register_globals to be
enabled. The security implications are explained in great detail in the
PHP manual here.
Note:
These instructions apply to Unix-based plans (Business Class Unix, Pro, eCommerce Unix) using
PHP4 or PHP5.
You
can easily enable the register_globals directive for your own hosting
plan by modifying the contents of your custom php.ini file using the
PHP Configuration tool available in the Aplus.Net Control.
Here’s
how:
- Start by
logging into the Aplus.Net Control Panel at http://cp.aplus.net
using your Registration Number and Customer Password.
- Select Web
Hosting from the top navigation bar.
- Next, select Hosted
Domains and click on Manage Hosted Domains.
- Now, select
the hosted domain name that you’d like to manage.
Note:
If your actual domain name does not yet resolve to
Aplus.Net’s servers, you must use the utility domain
(yourftpusername.web.aplus.net) that is associated with your Unix-based
hosting plan.
- Click the PHP
Configuration icon.
- Click the Create
php.ini button.
Note:
If you are already using a custom php.ini file, you can skip step
6.
- Select the register_globals
“On” radio button.
- Click Save
Settings.
Note:
The Advanced Edit button will open the entire
php.ini file in edit mode. Please use this option, if you are familiar
with the PHP configuration.
Related
Links:
|