2b. Configure PHP

Applies to the following products: 
Questionmark Perception
Applies to the following Perception versions: 
Perception 5.7

If you are interested in running a more recent version of PHP 5.5 or PHP 5.6, please contact Technical Support for a hotfix that adds support for more recent versions of PHP 5.5 as well as PHP 5.6. Please note that even with this hotfix, PHP 7 is not supported for Perception 5.7.

Once you have installed the software prerequisites that Perception requires, you will need to configure PHP 5.5.21 so that it works with Perception and at peak performance. You will need to:

In some instances, if FastCGI has not been enabled, you will not be able to enable or disable extensions. For instructions on how to enable FastCGI, please refer to Enable FastCGI Support in IIS 7 on Windows Server 2008, Windows Server 2008 R2, Windows Vista, or Windows 7.

Enable the relevant PHP extensions

  1. Launch Internet Information Services (IIS) Manager (not Internet Information Services (IIS) 6.0 Manager).
  2. Select your server from the Connections list on the left.
  3. In the Features View pane, locate and double-click PHP Manager.
  4. Under PHP Extensions, click Enable or disable an extension.
  5. Ensure that the following extensions are enabled:
    • CURL (php_curl.dll)
    • SOAP (php_soap.dll)
    • XSL (php_xsl.dll)
    • php_mbstring.dll
    • OpenSSL, if planning to run Perception using SSL via HTTPS (php_openssl.dll)
  6. To enable an extension:
    • Select it from the disabled list.
    • Click Enable from the Actions pane.

Configure the FastCGI instances

If FastCGI has not been enabled on your server, please refer to Enable FastCGI Support in IIS 7 on Windows Server 2008, Windows Server 2008 R2, Windows Vista, or Windows 7 for instructions on how to enable it.

Now, you will need to carry out some configuration changes to ensure that PHP is tuned for use with Perception. To do this:

  1. Launch IIS Manager.
  2. Select your server from the Connections list on the left.
  3. In the Features View pane, locate and double-click FastCGI Settings.
  4. Select the PHP entry, and click Edit... from the Actions pane.
  5. Ensure that the Instance MaxRequests setting is set to 10000.
  6. The Max Instances setting needs to be set to 10 times the number of processors you have on the server. For example, if your server has 2 processors, the Max Instances would be 20. If you server has 4 processors, the Max Instances should be 40.
  7. Click OK.

PHP has now been configured and is ready to use.

After you have enabled the relevant extensions and configured the FastCGI instances, continue on to step 2c using the link below.