• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Issue Custom PHP 7.1 with extensions

pulsarinformatique

New Pleskian
Server operating system version
Debian 11.7
Plesk version and microupdate number
18.0.52 update 3
Hi
Followng Following https://support.plesk.com/hc/en-us/articles/12377508651415 and with the help on Resolved - Unable to start service: Unable to manage service by phpinimng 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 https://support.plesk.com/hc/en-us/articles/12377508651415
(§ 1.4) but then what is the right syntax to add mysqli please?

thanks
 
I'll leave it here:

./configure --prefix /opt/plesk/php/7.2 --enable-fpm --with-fpm-group=www-data --with-pdo-mysql=mysqlnd --with-mysqli=mysqlnd

after that in info.php mysqli and pdo_mysql appeared, I didn't do anything in php.ini.

I think the situation is the same with other extensions. An example of installation can be taken from the "Configure Command" section of any version of PHP available for installation and in the Plesk panel.
 
Back
Top