• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved Php shmop extension

Dacey

New Pleskian
Hello !
I need the "shmop" php module for one of my sites. Why is this module not available in the php7.4 automatically installed by Plesk ? Is there a simple way to add it ?
I am on on Debian/Stretch.
Thank you.
 
Last edited:
Hello,

Why is this module not available in the php7.4 automatically installed by Plesk ?
This extension doesn't popular, and thus, it doesn't included to plesk php distribution

Is there a simple way to add it ?
You need to compile it from source: (following steps should be done on your Plesk server)
1. Install required packages for php extension compilation: apt install plesk-php74-dev build-essential
2. Download php sources from PHP: Downloads for required PHP version (last version is 7.4.4 in your case)
3. Unpack downloaded source
4. Go to shmop extension location: cd php-7.4.4/ext/shmop
5. Run phpize: /opt/plesk/php/7.4/bin/phpize
6. Run configure: ./configure --with-php-config=/opt/plesk/php/7.4/bin/php-config
7. Build and install extension: make && make install
8. Load extension to php: echo "extension=shmop.so" >> /opt/plesk/php/7.4/etc/php.d/shmop.ini
9. Ensure that extension is loaded: run /opt/plesk/php/7.4/bin/php -m and check that shmop present in extensions list (or just run phpinfo)

Hope this helps,

Thanks,
 
Thank you Mizar. Where should I unpack the php-7.4.4 source ? I mean in which directory ?
 
Hello,

In home directory of user. And note, make install require superuser rights
 
Thank you for efficient your help. It worked perfectly.
I guess I can get rid of the php-7.4.4 source after the compilation (in order to save 100MB of memory) ?
 
Hello,

I guess I can get rid of the php-7.4.4 source after the compilation (in order to save 100MB of memory) ?
Sure. You can also uninstall previously installed packages (build-essentials and plesk-php74-dev, and it's requirements)
 
Back
Top