How to add a custom PHP version in Plesk for Linux?

Follow

Comments

1 comment

  • Avatar
    Cyril Thibout (Edited )

    Hi
    Followng this article (and some additional help from https://talk.plesk.com/threads/unable-to-start-service-unable-to-manage-service-by-phpinimng.369863/)  I was able to add and run PHP 7.1 (FPM) on a Plesk Obsidian 18.0.52 update3 (Debian 11.7).

    However in the Plesk Tools&Settings / PHP settings / 7133-phpfpm page the EXTENSION TAB remains empty
    Whatever I write in the PHP.ini (the second tab) phpinfo shows me that mysqli is not loaded.

    I tried to add the following lines without success:

    extension=msql.dll
    extension=msql.so
    extension=mysqli
    extension=php_mysqli
    extension=php_mysqli.dll

    Maybe the solution was to compile the PHP 7.1 WITH the extensions as I could understand it on your § 1.4 but then what is the right syntax to add mysqli please?

     

    I tried without success:

    ./configure --prefix /usr/local/php-7.1.33 --enable-fpm --with-fpm-group=www-data  --enable-soap --with-mysqli --with-mysql-sock


    thanks for your help

     

    Cyril

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request