My_webapp not seeing installed php modules

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.14
What app is this about: my_webapp

Describe your issue

I am trying to setup the application openeclass in my_webapp with mysql (not the issue) and php 8.4. When I run the /install from chrome browser, openeclass says it needs the following php modules installed: gd, mbstring, xmi, curl, zip and intl. I installed these using apt install php-zip, etc. When I run php -m, I see the modules I’ve installed. I restart php 8.4 in admin console and reload nginx from the bash. But the openeclass does not see these modules. Not sure what to do about it. Thank you.

Share relevant logs or error messages

Here are the logs with warnings on this:

Apr 15 13:28:50 php-fpm8.4[1240350]: [15-Apr-2025 13:28:50] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library ‘gd.so’ (tried: /usr/lib/php/20240924/gd.so (/usr/lib/php/20240924/gd.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/gd.so.so (/usr/lib/php/20240924/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Apr 15 13:28:50 php-fpm8.4[1240350]: [15-Apr-2025 13:28:50] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library ‘mbstring.so’ (tried: /usr/lib/php/20240924/mbstring.so (/usr/lib/php/20240924/mbstring.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/mbstring.so.so (/usr/lib/php/20240924/mbstring.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Apr 15 13:28:50 php-fpm8.4[1240350]: [15-Apr-2025 13:28:50] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library ‘xml.so’ (tried: /usr/lib/php/20240924/xml.so (/usr/lib/php/20240924/xml.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/xml.so.so (/usr/lib/php/20240924/xml.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Apr 15 13:28:50 php-fpm8.4[1240350]: [15-Apr-2025 13:28:50] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library ‘curl.so’ (tried: /usr/lib/php/20240924/curl.so (/usr/lib/php/20240924/curl.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/curl.so.so (/usr/lib/php/20240924/curl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Apr 15 13:28:50 php-fpm8.4[1240350]: [15-Apr-2025 13:28:50] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library ‘zip.so’ (tried: /usr/lib/php/20240924/zip.so (/usr/lib/php/20240924/zip.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/zip.so.so (/usr/lib/php/20240924/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Apr 15 13:28:50 php-fpm8.4[1240350]: [15-Apr-2025 13:28:50] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library ‘intl.so’ (tried: /usr/lib/php/20240924/intl.so (/usr/lib/php/20240924/intl.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/intl.so.so (/usr/lib/php/20240924/intl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Apr 15 13:28:50 php-fpm8.4[1240350]: [15-Apr-2025 13:28:50] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library ‘gd.so’ (tried: /usr/lib/php/20240924/gd.so (/usr/lib/php/20240924/gd.so: cannot open shared object file: No such file or directory), /usr/lib/php/20240924/gd.so.so (/usr/lib/php/20240924/gd.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Generally it would be beneficial if you kept/share the solution up for future readers :wink:

I assume the issue is you need to install phpphp_version-whatever package, php-mbstring is for Debian-default version of PHP, php8.4-mbstring is for PHP 8.4.

1 Like

Sorry. i was in a hurry. Yes, that was the solution. Thanks.

Ralph Shinevar

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.