You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can build, but then: undefined symbol: php_json_serializable_ce.
PHP Warning: PHP Startup: Unable to load dynamic library 'decimal.so' (tried: /usr/lib64/php/modules/decimal.so (/usr/lib64/php/modules/decimal.so: undefined symbol: php_json_serializable_ce), /usr/lib64/php/modules/decimal.so.so (/usr/lib64/php/modules/decimal.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Loading json.so before decimal.so seems to help; eg. /etc/php.d/98-json.ini and /etc/php.d/99-decimal.ini.
The text was updated successfully, but these errors were encountered:
This is indeed exactly the same issue, but on CentOS/RHEL this works a tad different than on Ubuntu (there is no phpenmod command and therefore the module's priority needs to be defined manually, which is otherwise being picked up from the comment in the module's .ini on phpenmod). Changing the filename seems to be the only way to affect the loading order (unless loading two modules in one .ini file, which seems to be messy).
Can build, but then:
undefined symbol: php_json_serializable_ce
.Loading
json.so
beforedecimal.so
seems to help; eg./etc/php.d/98-json.ini
and/etc/php.d/99-decimal.ini
.The text was updated successfully, but these errors were encountered: