• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue PHP decimal cannot be load

DanielEl

New Pleskian
Hello,
Im trying to add a php module \ extension (Decimal) without success,
I tried to install and reinstall but looks like its install it but not loading it,
my error :
PHP Warning: PHP Startup: Unable to load dynamic library 'decimal.so' (tried: /opt/plesk/php/7.3/lib/php/modules/decimal.so
(/opt/plesk/php/7.3/lib/php/modules/decimal.so: undefined symbol: php_json_serializable_ce), /opt/plesk/php/7.3/lib/php/modules/decimal.so.so
(/opt/plesk/php/7.3/lib/php/modules/decimal.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Any1 ever stuck in this stage ? or how can fix it?

thank you and have a good day!
 
Call the file zz-99 to make sure it’s always loaded last:

# echo "extension=decimal.so" > /opt/plesk/php/7.3/etc/php.d/zz-99-decimal.ini

after that:

# /opt/plesk/php/7.3/bin/php -m | grep decimal
decimal
 
Hello, thanks for reply,
I did it but the error still exist :
root@F0CA8E3:~# php --re decimal
PHP Warning: PHP Startup: Unable to load dynamic library 'decimal' (tried: /usr/lib/php/20180731/decimal (/usr/lib/php/20180731/decimal: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/decimal.so (/usr/lib/php/20180731/decimal.so: undefined symbol: php_json_serializable_ce)) in Unknown on line 0
PHP Warning: Module 'decimal' already loaded in Unknown on line 0
PHP Warning: Module 'decimal' already loaded in Unknown on line 0
Extension [ <persistent> extension #32 decimal version 1.4.0 ] {
 
root@F0CA8E3:~# php --re decimal
Did you compile decimal module for Plesk /opt/plesk/php/7.3/bin/php or for system /usr/bin/php? My solution is for Plesk PHP case.
 
I guess im facing in a problem, even if im just entering "pecl uninstall decimal" im getting error :
PHP Warning: PHP Startup: Unable to load dynamic library 'decimal.so' (tried: /usr/lib/php/20180731/decimal.so (/usr/lib/php/20180731/decimal.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/decimal.so.so (/usr/lib/php/20180731/decimal.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'decimal.so' (tried: /usr/lib/php/20180731/decimal.so (/usr/lib/php/20180731/decimal.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/decimal.so.so (/usr/lib/php/20180731/decimal.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Im trying to install it from fresh, but looks like something trying to loading it,
there is way to remove it completely ?
 
Im trying to install it from fresh, but looks like something trying to loading it,
there is way to remove it completely ?
decimal.so is mentioned in one of .ini files of PHP. Try to find this ini file and remove reference to decimal.so there.
 
Back
Top