I’m using multiple PHP 7.4 and PHP 8.3.
I have to install ‘dstk.so’ php extension only for PHP7.4.
So I uploaded ‘dstk.so’ file directory : /usr/lib/php/7.4/dstk.so
But this error.
root@hestiacp:/usr/lib/php/7.4# php -i | grep -iE ‘^PHP Version|extension_dir’
PHP Warning: PHP Startup: Unable to load dynamic library ‘dstk’ (tried: /usr/lib/php/20230831/dstk (/usr/lib/php/20230831/dstk: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/dstk.so (/usr/lib/php/20230831/dstk.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP Version => 8.3.6
PHP Version => 8.3.6
extension_dir => /usr/lib/php/20230831 => /usr/lib/php/20230831
This is my PHP7.4 php.ini setting screenshot.
What is my problem?