• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Resolved A PHP Error was encountered

ArgaViking

New Pleskian
When I added a php script from CodeCanyon to subdomain and go to installation folder and got error directly:

Message: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /opt/plesk/php/7.4/lib64/php/modules/pdo_mysql (/opt/plesk/php/7.4/lib64/php/modules/pdo_mysql: cannot open shared object file: No such file or directory), /opt/plesk/php/7.4/lib64/php/modules/pdo_mysql.so (/opt/plesk/php/7.4/lib64/php/modules/pdo_mysql.so: undefined symbol: mysqlnd_allocator))

I checked if module exists and it does.

I can't complete installation without solve this.
 
I have checked this on my test Plesk server and I see that module exists:

# /opt/plesk/php/7.4/bin/php -m | grep pdo_mysql
pdo_mysql

# cat /opt/plesk/php/7.4/etc/php.d/pdo_mysql.ini
; Enable pdo_mysql extension module
extension=pdo_mysql.so
 
Back
Top