2c. Configure PHP

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

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

Enable the relevant PHP extensions

 

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 the following: Enable FastCGI Support in IIS 7 on Windows Server 2008, Windows Server 2008 R2, Windows Vista, or Windows 7

  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)
    • OpenSSL, if planning to run Perception using SSL via HTTPS (php_openssl.dll)
  1. To enable an extension:
    1. Select it from the disabled list
    2. Click Enable from the Actions pane

Configure the FastCGI instances

 

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

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 2d using the link below.