Search Engine: Elastic

Article ID: 129222, created on Aug 5, 2016, last review on Aug 5, 2016

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


A task to install or update Joomla to version 3.4.6 or 3.4.8 fails with:

Script execution failed: executing '/usr/bin/php -d open_basedir= -q configure' for APS application instance with id 42129 returned value '255' with output '' and errors 'PHP Fatal error: Call to undefined method DirectoryIterator::getExtension() in /var/www/vhosts/9/102265/webspace/siteapps/joomla-42129/htdocs/libraries/cms/installer/installer.php on line 2254


PHP executable of the default PHP version (5.3) is used for configuration script, despite Alt-PHP is activated on a webspace

The issue is recognized as APS-31434.


The permanent fix is included into Odin Service Automation 6.0 Update 7. Install the available OA updates to have the issue fixed.

In order to apply a workaround to complete the tasks immediately, follow the steps below:

  1. Import the new Joomla APS into OA.

  2. Go to OA Management Node and copy the package into some directory:

    # mkdir joomla
    # cp /usr/local/pem/APS/packages/ joomla/
  3. Unzip the package:

    # cd joomla/
    # unzip
  4. Edit the file:

    # vim htdocs/libraries/cms/installer/installer.php

    Find the line:

    if (!$file->isFile() || $file->getExtension() != 'php')

    Replace it with:

    $ptmp = pathinfo($fileName);
    if (!$file->isFile() || $ptmp['extension'] != 'php')
  5. Pack the package back:

    # zip -r *
  6. Put the package to the OA APS repository:

    # mv /usr/local/pem/APS/packages/

    Note: it should replace the original version.

  7. Make sure that the old package is not located on any Web Server at /usr/local/pem/APS/packages.
  8. Re-run the task(s).

The above steps will work fine as well for each new Joomla version.

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

Email subscription for changes to this article
Save as PDF