The installation or upgrade to OfficeScan (OSCE) 11.0 may fail due to any of the following scenarios:
- The PHP version is below 5.3.27.
- The necessary extensions are missing:
- For Apache: PHP 5.3.27 VC9, 32-bit, Thread Safe with the CURL, GMP, LDAP, PDO_SQLITE, COM_DOTNET Extensions
- For IIS: PHP 5.3.27 VC9, 32-bit, Non-Thread Safe with the CURL, GMP, LDAP, MBSTRING, OPENSSL, PDO_SQLITE, SOAP, COM_DOTNET extensions
To resolve the issue:
- Remove the current PHP using the Add/Remove programs under Control Panel.
- Run the OSCE 11.0 setup program.
- You may verify the PHP status using one of the following procedures.
The instructions below assume that PHP was installed by OSCE, which uses the default path: C:\Program Files (x86)\PHP\.
For IIS
- Ensure that the Module mapping values for PHP are as follow:
Request path: *.php
For more information regarding this executable path, refer to Step 14 of this Microsoft article Install and Configure PHP.
Module: FastCGImodule
Executable: C:\Program Files (x86)\PHP\php-cgi.exe
Name: FastCGI - Check the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PHP]
"InstallDir"="C:\\Program Files (x86)\PHP\"
"WebServerType"="iis4FastCGI"
"Version"="5.3.27" - Make sure that the PHP extensions below exist under C:\Program Files (x86)\PHP\ext:
php_com_dotnet.dll
php_curl.dll
php_gmp.dll
php_ldap.dll
php_mbstring.dll
php_openssl.dll
php_pdo_sqlite.dll
php_soap.dll
For Apache
- Ensure that these two (2) configures are on httpd.conf configuration file to load the PHP module for Apache 2.x:
#
For more details, refer to the article Apache 2.x on Microsoft Windows.
LoadModule php5_module " C:/Program Files (x86)/PHP/php5apache2_2.dll"
# configure the path to php.ini
PHPIniDir "C:/Program Files (x86)/PHP/" - Check the following registry key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PHP]
"InstallDir"="C:\\Program Files (x86)\PHP\"
"ApacheDir"="C:\\Program Files (x86)\Trend Micro\OfficeScan\PCCSRV\Apache2\conf\"
"Version"="5.3.27"
"WebServerType"="apache22" - Make sure that the PHP extensions below exist under C:\Program Files (x86)\PHP\ext:
php_com_dotnet.dll
php_curl.dll
php_gmp.dll
php_ldap.dll
php_pdo_sqlite.dll
- Ensure that the Module mapping values for PHP are as follow: