• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Question AlmaLinux php 5.6 support

Hi
Thanks for getting back to me.
I get its EOL but I can still load it in Plesk on Centos 7 so the latest version of Plesk still allows me to install it but is that still the case if I upgrade the OS to Centos 8 then Almalinux?
 
Hi
Can anyone please tell me if Plesk on AlmaLinux supports php 5.6?
Thanks


If you do what I tell you after the normal plesk install, you can use 5.6 without any problems.



Almalinux 8 PHP 5.6 İnstall

dnf install -y epel-release dnf install http://rpms.remirepo.net/enterprise/remi-release-8.rpm dnf install php56-php.x86_64 dnf install php56-build.x86_64 dnf install php56-php-gd.x86_64 dnf install php56-php-fpm.x86_64 dnf install php56-php-bcmath.x86_64 dnf install php56-php-gmp.x86_64 dnf install php56-php-geos.x86_64 dnf install php56-php-xmlrpc.x86_64 dnf install php56-php-soap.x86_64 dnf install php56-php-pecl-imagick.x86_64 dnf install php56-php-pecl-imagick-devel.x86_64 dnf install php56-php-pecl-geoip.x86_64 dnf install php56-php-brotli.x86_64 dnf install php56-php-imap.x86_64 dnf install php56-php-interbase.x86_64 dnf install php56-php-intl.x86_64 dnf install php56-php-ioncube-loader.x86_64 dnf install php56-php-ldap.x86_64 dnf install php56-php-libvirt.x86_64 dnf install php56-php-libvirt-doc.noarch dnf install php56-php-lz4.x86_64 dnf install php56-php-magickwand.x86_64 dnf install php56-php-maxminddb.x86_64 dnf install php56-php-mbstring.x86_64 dnf install php56-php-mcrypt.x86_64 dnf install php56-php-mysqlnd.x86_64 dnf install php56-php-odbc.x86_64 dnf install php56-php-opcache.x86_64 dnf install php56-php-pecl-redis4.x86_64 dnf install php56-php-pecl-ip2location.x86_64 dnf install php56-php-pecl-yaml.x86_64 dnf install php56-php-pecl-rar.x86_64 dnf install php56-php-pecl-radius.x86_64 dnf install php56-php-pecl-crypto.x86_64 dnf install php56-scldevel.x86_64 dnf install php56-syspaths.x86_64 dnf install php56-scldevel.x86_64 dnf install php56-php-zstd-devel.x86_64 dnf install php56-php-zephir-parser-devel.x86_64 dnf install php56-php-pecl-dom-varimport-devel.x86_64 /usr/local/psa/bin/php_handler --add -displayname 5.6.40 -path /usr/bin/php56-cgi -phpini /etc/opt/remi/php56/php.ini -clipath /usr/bin/php56 -type fastcgi plesk bin php_handler --reread

Finish reboot.
 
Thank you mahmut. It works fine.

I have old project on PHP 5.3.
Are the same packages (modifying 56 to 53)?
 
I have some customers still using PHP 5.3 :)
I installed REMI's Repo to add 5.3 about 2 years ago.. works well..
 
Like that?

dnf install -y epel-release
dnf install http://rpms.remirepo.net/enterprise/remi-release-8.rpm
dnf install php53-php.x86_64
dnf install php53-build.x86_64
dnf install php53-php-gd.x86_64
dnf install php53-php-fpm.x86_64
dnf install php53-php-bcmath.x86_64
dnf install php53-php-gmp.x86_64
dnf install php53-php-geos.x86_64
dnf install php53-php-xmlrpc.x86_64
dnf install php53-php-soap.x86_64
dnf install php53-php-pecl-imagick.x86_64
dnf install php53-php-pecl-imagick-devel.x86_64
dnf install php53-php-pecl-geoip.x86_64
dnf install php53-php-brotli.x86_64
dnf install php53-php-imap.x86_64
dnf install php53-php-interbase.x86_64
dnf install php53-php-intl.x86_64
dnf install php53-php-ioncube-loader.x86_64
dnf install php53-php-ldap.x86_64
dnf install php53-php-libvirt.x86_64
dnf install php53-php-libvirt-doc.noarch
dnf install php53-php-lz4.x86_64
dnf install php53-php-magickwand.x86_64
dnf install php53-php-maxminddb.x86_64
dnf install php53-php-mbstring.x86_64
dnf install php53-php-mcrypt.x86_64
dnf install php53-php-mysqlnd.x86_64
dnf install php53-php-odbc.x86_64
dnf install php53-php-opcache.x86_64
dnf install php53-php-pecl-redis4.x86_64
dnf install php53-php-pecl-ip2location.x86_64
dnf install php53-php-pecl-yaml.x86_64
dnf install php53-php-pecl-rar.x86_64
dnf install php53-php-pecl-radius.x86_64
dnf install php53-php-pecl-crypto.x86_64
dnf install php53-scldevel.x86_64
dnf install php53-syspaths.x86_64
dnf install php53-scldevel.x86_64
dnf install php53-php-zstd-devel.x86_64
dnf install php53-php-zephir-parser-devel.x86_64
dnf install php53-php-pecl-dom-varimport-devel.x86_64
/usr/local/psa/bin/php_handler --add -displayname 5.3 -path /usr/bin/php53-cgi -phpini /etc/opt/remi/php53/php.ini -clipath /usr/bin/php53 -type fastcgi
plesk bin php_handler --reread
 
Like that?

dnf install -y epel-release
dnf install http://rpms.remirepo.net/enterprise/remi-release-8.rpm
dnf install php53-php.x86_64
dnf install php53-build.x86_64
dnf install php53-php-gd.x86_64
dnf install php53-php-fpm.x86_64
dnf install php53-php-bcmath.x86_64
dnf install php53-php-gmp.x86_64
dnf install php53-php-geos.x86_64
dnf install php53-php-xmlrpc.x86_64
dnf install php53-php-soap.x86_64
dnf install php53-php-pecl-imagick.x86_64
dnf install php53-php-pecl-imagick-devel.x86_64
dnf install php53-php-pecl-geoip.x86_64
dnf install php53-php-brotli.x86_64
dnf install php53-php-imap.x86_64
dnf install php53-php-interbase.x86_64
dnf install php53-php-intl.x86_64
dnf install php53-php-ioncube-loader.x86_64
dnf install php53-php-ldap.x86_64
dnf install php53-php-libvirt.x86_64
dnf install php53-php-libvirt-doc.noarch
dnf install php53-php-lz4.x86_64
dnf install php53-php-magickwand.x86_64
dnf install php53-php-maxminddb.x86_64
dnf install php53-php-mbstring.x86_64
dnf install php53-php-mcrypt.x86_64
dnf install php53-php-mysqlnd.x86_64
dnf install php53-php-odbc.x86_64
dnf install php53-php-opcache.x86_64
dnf install php53-php-pecl-redis4.x86_64
dnf install php53-php-pecl-ip2location.x86_64
dnf install php53-php-pecl-yaml.x86_64
dnf install php53-php-pecl-rar.x86_64
dnf install php53-php-pecl-radius.x86_64
dnf install php53-php-pecl-crypto.x86_64
dnf install php53-scldevel.x86_64
dnf install php53-syspaths.x86_64
dnf install php53-scldevel.x86_64
dnf install php53-php-zstd-devel.x86_64
dnf install php53-php-zephir-parser-devel.x86_64
dnf install php53-php-pecl-dom-varimport-devel.x86_64
/usr/local/psa/bin/php_handler --add -displayname 5.3 -path /usr/bin/php53-cgi -phpini /etc/opt/remi/php53/php.ini -clipath /usr/bin/php53 -type fastcgi
plesk bin php_handler --reread
Yes, that looks correct.. It's been a while :)
 
First command:
#dnf install php53-php.x86_64
No match for argument: php53-php.x86_64
Error: Unable to find a match: php53-php.x86_64

:(
 
Sorry - spoke too soon; PHP 5.3 has been removed from Remi as well. But I had it on my old server, so I just copied the whole /opt/plesk/php/5.3/ directory to the new server.. Had to create 5-6 symbolic links because of the versions of the libraries.
but it works great.. I also added it as a PHP handler to plesk.. If you have a RedHat compatible system, I could put the php 5.3 directory somewhere for you..
 
Back
Top