Search Engine: Elastic

Article ID: 129670, created on Oct 23, 2016, last review on Oct 23, 2016

  • Applies to:
  • Operations Automation 6.0
  • Operations Automation 5.5


After updating the PHP version from 5.2.17 to 5.3.3 the Presence Builder related task failed with following error:

Script execution failed: executing '/usr/bin/php -d open_basedir= -q configure.php' for APS application instance with id yyy returned value '199' with output 'Site error: the file <b>/usr/local/pem/vhosts/xxxxx/webspace/siteapps/ParallelsWebPresenceBuilder-yyy/scripts/configure.php</b> requires the ionCube PHP Loader to be installed by the site administrator.' and errors 'PHP Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0

After installing php53-ioncube-loader-4.0.12-2.pem.x86_64.rpm package the task failed with a different error:

Script execution failed: executing '/usr/bin/php -d open_basedir= -q configure.php' for APS application instance with id 396 returned value '1' with output '<?xml version="1.1" encoding="utf-8"?>
<output xmlns=""><errors><error><message>Internal SiteBuilder error.</message><system>Base_SyntaxException: PHP Warning : date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EET/2.0/no DST' instead
file: /usr/local/pem/vhosts/xxxxx/webspace/httpdocs/domain.tld/include/Zend/Log.php
line: 135
code: 2
trace: #0 /usr/local/pem/vhosts/xxxxxx/webspace/httpdocs/domain.tld/include/Base/SyntaxException.php(49): Base_SyntaxException::handleError()
#1 [internal function]: Base_SyntaxException::handleError(2, 'date(): It is n...', '/usr/local/pem/...', 135, Array)
#2 /usr/local/pem/vhosts/xxxxxx/webspace/httpdocs/ date('c')
#3 /usr/local/pem/vhosts/xxxxxx/webspace/httpdocs/ Zend_Log->log('Create configur...', 6)
#4 /usr/local/pem/vhosts/xxxxxx/webspace/httpdocs/ Zend_Log->__call('info', Array)
#5 /usr/local/pem/vhosts/xxxxxx/webspace/httpdocs/ SB_Aps_Log->info('Create configur...')
#6 /usr/local/pem/vhosts/xxxxxx/webspace/httpdocs/ SB_Aps_Configurator->_installCommand()
#7 /usr/local/pem/vhosts/xxxxxx/webspace/siteapps/ParallelsWebPresenceBuilder-396/scripts/configure.php(90): SB_Aps_Configurator_Abstract->run()
#8 {main}


Timezone is not configured in /etc/php.ini


  1. Make sure that php53-ioncube-loader-4.0.12-2.pem.x86_64.rpm package is installed:

    # yum install php53-ioncube-loader

    In case the host uses some alt-php package, install Ioncube Loader of the corresponding version, e.g.:

    # yum install alt-php55-ioncube-loader
  2. Configure timezone in /etc/php.ini e.g.:

    date.timezone = Europe/London
  3. Restart apache to apply /etc/php.ini changes:

    in case of Legacy Shared Hosting:

    # /etc/init.d/pemhttpd restart

    in case of NG hosting:

    # /etc/init.d/httpd restart

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF