PHP Warning: PHP Startup:

PHP Warning:  PHP Startup: Unable to load dynamic library 'php_mysql.dll' (tried: /usr/lib/php/20230831/php_mysql.dll (/usr/lib/php/20230831/php_mysql.dll: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/php_mysql.dll.so (/usr/lib/php/20230831/php_mysql.dll.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 'php_gd2.dll' (tried: /usr/lib/php/20230831/php_gd2.dll (/usr/lib/php/20230831/php_gd2.dll: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/php_gd2.dll.so (/usr/lib/php/20230831/php_gd2.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Ping sitemap : http://delaemkolbaski.com/sitemap.xml . 
Saving last ran cronjob at: 2025-12-30 12:00:02

Guys Please help, error get 2 days ago,

Are you sure, that the packages are installed?

apt install php-mysql php-gd

Should be by default.

th..you for help, how I can check I have or no php-mysql php-gd?

Im no change on VPS

root@server:~# php -m | grep -i gd
PHP Warning:  PHP Startup: Unable to load dynamic library 'php_mysql.dll' (tried: /usr/lib/php/20230831/php_mysql.dll (/usr/lib/php/20230831/php_mysql.dll: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/php_mysql.dll.so (/usr/lib/php/20230831/php_mysql.dll.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 'php_gd2.dll' (tried: /usr/lib/php/20230831/php_gd2.dll (/usr/lib/php/20230831/php_gd2.dll: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/php_gd2.dll.so (/usr/lib/php/20230831/php_gd2.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
gd

.dll is windows, you probaly have manualy changed something. Probaly comment them in the related php.ini file.

no anything changes

Someone changed something, because you won’t find Windows filenames in your PHP.ini on a Linux host without altering the contents.

1 Like

Hi guys pleas help latest ver Hestia CP Ubuntu 24.04 LTS

root@server:~# php -m | grep -i gd
PHP Warning:  PHP Startup: Unable to load dynamic library 'php_mysql.dll' (tried: /usr/lib/php/20230831/php_mysql.dll (/usr/lib/php/20230831/php_mysql.dll: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/php_mysql.dll.so (/usr/lib/php/20230831/php_mysql.dll.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 'php_gd2.dll' (tried: /usr/lib/php/20230831/php_gd2.dll (/usr/lib/php/20230831/php_gd2.dll: cannot open shared object file: No such file or directory), /usr/lib/php/20230831/php_gd2.dll.so (/usr/lib/php/20230831/php_gd2.dll.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
gd
root@server:~#

There is zero need to open a second thread. If you can’t change the modifications you’ve done, please seek some help from a sysadmin. This is once again way out of scope of this support forum.

1 Like