Article ID: 128400, created on Feb 20, 2016, last review on Feb 20, 2016

  • Applies to:
  • Operations Automation 5.5
  • Operations Automation 5.4

Symptoms

After upgrading PHP to 5.3.x on Windows IIS server Wordpress tasks Configure site application (instance_id = 123) on DS 456 fail with PHP errors like:

Last execution output   Destination host 'winweb.hosting.local' (#), IP '192.168.1.2' : Provisioning request failed. Unspecified error [<response><errorContext description="Error 255(The extended attributes are inconsistent) at execute '$tmp$configure$batch$.bat' on server 'winweb.hosting.local'
Error:
PHP Warning: PHP Startup: bz2: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=0
PHP compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
in Unknown on line 0
.......
PHP Fatal error: Call to undefined function mysql_connect() in C:\CustomerData\webspaces\webspace_00123456\siteapps\WordPress-123\scripts\db-util.php on line 66" code="0x80004005" executeSeqNo="4"><errorSource namespace="PEMUtils" procedure="RemoteExec"/></errorContext></response>]

Cause

Incorrect path to PHP binaries is used.

Resolution

Check where old and new versions of PHP are installed (probably new version was installed incorrectly):

  1. Check path to PHP folder in PHP package properties in OA (click hardware node where the webspace is located and switch to Packages > PHP > Package properties)
  2. Check if php.exe -v works in the same way from this folder and from any other folder on Windows server.
  3. If old PHP is still used, make the backup of old PHP folder and copy new files there.
  4. Resubmit the failed task.

Search Words

failed task

Unable to initialize module

PHP

Upgrade php version

Configure site application

ac82ce33439a9c1feec4ff4f2f638899 caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e 5b048d9bddf8048a00aba7e0bdadef37

Email subscription for changes to this article
Save as PDF