• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Difficulty installing Joomla from Applications

coolemail2

Basic Pleskian
I am trying to install Joomla from the Applications page. We have done it a lot before. It is failing saying:

Error: Installation of joomla at http://domain.co.uk/url-we-use failed. Non-zero exit status returned by script. Output stream: 'PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/domain.co.uk/httpdocs/url-we-use/libraries/joomla/application/web.php on line 869 PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/domain.co.uk/httpdocs/url-we-use/libraries/joomla/uri/uri.php on line 96 PHP Fatal error: Call to undefined method DirectoryIterator::getExtension() in /var/www/vhosts/domain.co.uk/httpdocs/url-we-use/libraries/cms/installer/installer.php on line 2254 '. Error stream: 'PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/domain.co.uk/httpdocs/url-we-use/libraries/joomla/application/web.php on line 869 PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/domain.co.uk/httpdocs/url-we-use/libraries/joomla/uri/uri.php on line 96 PHP Fatal error: Call to undefined method DirectoryIterator::getExtension() in /var/www/vhosts/domain.co.uk/httpdocs/url-we-use/libraries/cms/installer/installer.php on line 2254 '.

We have:
OS CentOS 6.7 (Final)
Panel version 11.5.30 Update #51

Can anyone advise?
 
Hello,

Try to use 'clear cache' option under Tools&Settings > Application Vault
 
Error very similar:

Error: Installation of joomla at http://domain.co.uk/url-we-use failed. Non-zero exit status returned by script. Output stream: 'PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/domain.co.uk/httpdocs/url-we-use/libraries/joomla/application/web.php on line 869 PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/domain.co.uk/httpdocs/url-we-use/libraries/joomla/uri/uri.php on line 96 PHP Fatal error: Call to undefined method DirectoryIterator::getExtension() in /var/www/vhosts/domain.co.uk/httpdocs/url-we-use/libraries/cms/installer/installer.php on line 2254 '. Error stream: 'PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/domain.co.uk/httpdocs/url-we-use/libraries/joomla/application/web.php on line 869 PHP Notice: Undefined index: HTTP_HOST in /var/www/vhosts/domain.co.uk/httpdocs/url-we-use/libraries/joomla/uri/uri.php on line 96 PHP Fatal error: Call to undefined method DirectoryIterator::getExtension() in /var/www/vhosts/domain.co.uk/httpdocs/url-we-use/libraries/cms/installer/installer.php on line 2254 '.

I notice that in /var/www/vhosts/domain.co.uk/httpdocs/url-we-use
there is only a tmp file and a configuration.php file

so is it not unpacking for some reason? Just a thought.
 
Hello coolemail2,

Please provide us with the output for these commands:

# php -v
# /usr/local/psa/admin/sbin/php_handlers_control --list
 
PHP 5.3.3 (cli) (built: Jul 9 2015 17:39:00)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.



id: display name: version: type: cgi-bin: php.ini:
module 5.3.3 5.3.3 module /usr/bin/php-cgi /etc/php.ini
fastcgi 5.3.3 5.3.3 fastcgi /usr/bin/php-cgi /etc/php.ini
cgi 5.3.3 5.3.3 cgi /usr/bin/php-cgi /etc/php.ini
fastcgi-54 Atomic 5.4 5.4.44 fastcgi /opt/atomic/atomic-php54/root/usr/bin/php-cgi /opt/atomic/atomic-php54/root/etc/php.ini
fastcgi-55 Atomic 5.5 5.5.28 fastcgi /opt/atomic/atomic-php55/root/usr/bin/php-cgi /opt/atomic/atomic-php55/root/etc/php.ini
fastcgi-56 Atomic 5.6 5.6.12 fastcgi /opt/atomic/atomic-php56/root/usr/bin/php-cgi /opt/atomic/atomic-php56/root/etc/php.ini
fastcgi-70 Atomic 5.6 7.0.0 fastcgi /opt/atomic/atomic-php70/root/usr/bin/php-cgi /opt/atomic/atomic-php70/root/etc/php.ini
 
I'm having exactly the same issue on a similar server setup:
OS CentOS 6.7 (Final)
Panel version 12.0.18 Update #74
Been happening for a month or so and also get similar errors if trying to update a Joomla application. In that instance there is an error message but the app does seem to actually update. New installs I am having to do manually.
 
Having the same problem. Really needing to install Joomla but Plesk is giving me exactly the same error as quoted above.

Just to clarify, manually installing Joomla (ie FTPing a fresh copy to the server) works fine, so it might be something in the script.
 
Last edited:
Lev, or @IgorG please could you help all those of us who are having the sme difficulty. I really need to be able to install all the programs easily. Grateful for some real assistance here.
 
Back
Top