• 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

Resolved How do you install ZSTD PHP Extension on plesk

krystalgrowth

New Pleskian
Hi guys
i am new to Plesk and i want to install ZSTD (zstandard) on me Plesk. can someone please give me some guidance now how to do so and have it appear in Settings for 7.4.11 FPM application and also show up in phpinfo.php.
 
Use the following instruction:

# yum install gcc make plesk-php74-devel
# /opt/plesk/php/7.4/bin/pecl install zstd
# echo "extension=zstd.so" > /opt/plesk/php/7.4/etc/php.d/zstd.ini
# plesk bin php_handler --reread

Check that zstd module is loaded successfully:

# /opt/plesk/php/7.4/bin/php -m | grep zstd
zstd
 
Use the following instruction:

# yum install gcc make plesk-php74-devel
# /opt/plesk/php/7.4/bin/pecl install zstd
# echo "extension=zstd.so" > /opt/plesk/php/7.4/etc/php.d/zstd.ini
# plesk bin php_handler --reread

Check that zstd module is loaded successfully:

# /opt/plesk/php/7.4/bin/php -m | grep zstd
zstd
Can you give me instructions for Ubuntu 20.04? That’s the version I am running plesk on at the moment. Thanks in advance
 
Back
Top