A PHP Error was encountered

skynetoo7

Registered
Nov 6, 2019
1
0
1
india
cPanel Access Level
Root Administrator
A PHP Error was encountered
Severity: Core Warning

Message: PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_mysql.so' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/pdo_mysql.so: cannot open shared object file: No such file or directory

this is my php.ini file script

allow_url_fopen = On
allow_url_include = Off
asp_tags = Off
display_errors = On
enable_dl = Off
file_uploads = On
max_execution_time = 60
max_input_time = 60
max_input_vars = 4000
memory_limit = 32M
post_max_size = 64M
session.gc_maxlifetime = 3600
session.save_path = "/var/cpanel/php/sessions/ea-php71"
upload_max_filesize = 64M
zlib.output_compression = Off



somebody please help me to resolve this issue.
 
Last edited:

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,304
1,252
313
Houston
PHP Modules and extensions aren't shown in the .ini file they're added with an include.

Do you have mysqlnd installed for PHP 5.6? If you're unsure you can check by going to WHM>>Software>>EasyApache -> Customize your current profile -> PHP Extensions