Table of Contents
Manage PHP variables
Prerequisites
Last Updated for InterWorx-CP version 3.0.1
An existing SiteWorx account.
Purpose
Manage common PHP settings, such as error reporting level, include path, and register globals, from this page.
Procedure - Manage PHP variables
- Click on the menu if it is not already expanded.
- Click on the ♦ Directory Options item.
- You should now be looking at the Directory Options Management controls in the main content area.
- Click the PHP Variables for the directory you’d like to manage.
- For each option, there is an “Inherited” setting. When “Inherited” is selected, the PHP variable will inherit its value from the parent directory above. The displayed value shown next to the “Inherited” option is the value that will be used for that directory.
- Adjust the PHP settings as desired.
- Click the button.
- You will see the following message at the top of the screen: » PHP Variables updated: directory
Available PHP Variables
Please see the PHP manual for more details about the following settings:
| PHP Variable | Description |
|---|---|
| Magic Quotes GPC | Turns on or off the PHP‘Magic Quotes GPC’ variable. |
| Register Globals | Turns on or off the PHP‘Register Globals’ variable. |
| Include Path | Sets the PHP‘Include Path’ variable for this directory and its subdirectories. Multiple paths are separated by a colon (”:”) character. For example: /first/path:/second/path:/third/path |
| Display Errors | Turns on or off the PHP‘Display Errors’ variable. |
| Error Reporting | Sets the PHP‘Error Reporting’ variable for this directory and its subdirectories. |
