PHP

Setup php extension to load in order




working case :
    - https://pecl.php.net/package/decimal
   
dependencies to load before are json extension
if we just enable decimal through phpenmod then the extensions still load in ascending order result in PHP failed to load decimal extension

the trick is to force PHP loading json before decimal by renaming .ini file /etc/php/7.4/mods-available/decimal.ini to json_decimal.ini

after that decimal.so  will loaded after json.so respect the ascending order 


"RESOLVED"

About Gafur

0 comments:

Posting Komentar

Diberdayakan oleh Blogger.