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

    https://survey.webpros.com/

Error php 5.4 installation

Redcare

New Pleskian
Hi,

I try to install php 5.4 on my plesk serveur with the web interface but it return me an error.

The apg-get failed with the following message:
Reading package lists...
Building dependency tree...
Reading state information...


When i try to install it with command line, it return this message.

---X--- `apt-get` output ---------------------
Reading package lists...
Building dependency tree...
Reading state information...

---------------------- `apt-get` output ---X---
Collecting error details into log file...

ERROR: Installation will not continue

The apg-get failed with the following message:
Reading package lists...
Building dependency tree...
Reading state information...

Not all packages were installed.
Please, contact product technical support.
exit status 1


Someone have a idea ?

Thanks
 
Any additional detail from /tmp/autoinstaller3.log log file?
 
Looks like it is Plesk installed to Virtuozzo VPS. There are errors like

[2016-03-02 08:32:52.025144] E: Unable to locate package plesk-php54
E: Unable to locate package plesk-php54-bcmath
E: Unable to locate package plesk-php54-cli
E: Unable to locate package plesk-php54-dba
E: Unable to locate package plesk-php54-enchant
E: Unable to locate package plesk-php54-fpm
E: Unable to locate package plesk-php54-gd
E: Unable to locate package plesk-php54-imagick
E: Unable to locate package plesk-php54-imap
E: Unable to locate package plesk-php54-intl
E: Unable to locate package plesk-php54-ioncube-loader
E: Unable to locate package plesk-php54-ldap
E: Unable to locate package plesk-php54-mbstring
E: Unable to locate package plesk-php54-mcrypt
E: Unable to locate package plesk-php54-mysql
E: Unable to locate package plesk-php54-odbc
E: Unable to locate package plesk-php54-pdo
E: Unable to locate package plesk-php54-pear
E: Unable to locate package plesk-php54-pgsql
E: Unable to locate package plesk-php54-process
E: Unable to locate package plesk-php54-pspell
E: Unable to locate package plesk-php54-redis
E: Unable to locate package plesk-php54-release
E: Unable to locate package plesk-php54-snmp
E: Unable to locate package plesk-php54-soap
E: Unable to locate package plesk-php54-tidy
E: Unable to locate package plesk-php54-xcache
E: Unable to locate package plesk-php54-xdebug
E: Unable to locate package plesk-php54-xml
E: Unable to locate package plesk-php54-xmlrpc

I suppose it is related to incorrect installation Plesk templates to VPS like in KB article https://kb.plesk.com/en/125420
 
I succeed to install php 5.4 and when a refresh server component, it appears in the list of components, but it is not appears in the list of php modules in general php parameters and I still can not use it in domains PHP parameters.

Capture d’écran 2016-03-09 à 14.04.01.png Capture d’écran 2016-03-09 à 14.04.12.png Capture d’écran 2016-03-09 à 14.04.32.png
 
Try to re-read PHP handlers with

# plesk bin php_handler --reread
 
Hi,

I try this command and it return successfully
"The information about PHP handlers was successfully updated."

But in plesk, php5.4 is still unavailable.

And i try to proceed a plesk update in web interface.

Capture d’écran 2016-03-10 à 07.35.33.png Capture d’écran 2016-03-10 à 07.36.17.png
 
Back
Top