• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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