Symptoms

Tasks for upgrading mediawiki APS fail with the error:

Script execution failed: executing '/usr/bin/php-cgi -d open_basedir= -q configure' for APS application instance with id 1909 returned value '1' with output 'MediaWiki 1.22.2 Updater PCRE 7.2 or later is required. Your PHP binary is linked with PCRE 4.5.

Cause

Old version of PCRE is installed on the web server where APS instance is installed:

# rpm -qa |grep pcr
pcre-4.5-3.2.RHEL4
pcre-devel-4.5-3.2.RHEL4 

Resolution

To fix the error, please download the required version of PCRE and install it:

# rpm -Uvh --test pcre-7.6-1.x86_64.rpm
Preparing...                ########################################### [100%]
# rpm -Uvh pcre-7.6-1.x86_64.rpm
Preparing...                ########################################### [100%]
1:pcre                   ########################################### [100%]
# rpm -qa | grep pcre
pcre-7.6-1

After that resubmit the failed task, it should be processed successfully.

Internal content

Link on internal Article