• 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

Question Compile PHP with extensions

lukas-degan

Basic Pleskian
Hi,

i need to install some old PHP Versions.
First i executed:
./configure --prefix /usr/local/php7.0/ --with-apxs2=/usr/local/apache/bin/apxs --enable-mbstring --with-curl --with-openssl --with-xmlrpc --enable-soap --enable-zip --with-gd --with-jpeg-dir --with-png-dir --with-mysqli --with-pgsql --enable-embedded-mysqli --with-freetype-dir --with-ldap --enable-intl --with-xsl --with-zlib

Then I registered it in plesk:
plesk bin php_handler --add -displayname 7.0.33 -path /usr/local/php7.0/bin/php -clipath /usr/local/php7.0/bin/php -phpini /usr/local/php7.0/php.ini -type fpm -service php7.0-fpm -poold /etc/php7.0-fpm/pool.d

But now Plesk do not show any extensions in PHP Setting.

I know that this is not offical supported, but i hope someone can help me.
 
Back
Top