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

  1. Click on the Site Services menu if it is not already expanded.
  2. Click on the ♦    Directory Options item.
  3. You should now be looking at the Directory Options Management controls in the main content area.
  4. Click the PHP Variables for the directory you’d like to manage.
  5. 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.
  6. Adjust the PHP settings as desired.
  7. Click the Update button.
  8. 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.

COPYRIGHT © InterWorx L.L.C. 2004-2008 PRIVACY POLICYEULA