Fatal error: Class 'PDO' not found in /home
Fatal error: Class 'PDO' not found in /home
i have many domains on my cpanel PDO evrething works fine...
on this new domain i have this problem
i can't find the solution
i put php.ini on public_html
i put php.ini on public_html/domain.com
No help...
[/usr/local/lib]# php -v PHP 5.5.33 (cli) (built: Mar 14 2016 12:30:57) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
***essccc@****.com [/usr/local/lib]# php -m|grep PDO
PDO
[/usr/local/lib]# php -v PHP 5.5.33 (cli) (built: Mar 14 2016 12:30:57) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
[/usr/local/lib]# php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
ereg
filter
ftp
gd
hash
iconv
imap
json
libxml
mbstring
mcrypt
mysql
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
Reflection
session
SimpleXML
sockets
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
zlib
-
If you look at the domain's phpinfo, does PDO show up there? 0 -
Make sure that there is no custom php.ini in the new domain which is overwriting your default PHP configuation. Upload phpinfo page and check loa 0 -
Hello, As mentioned, ensure no outdated php.ini files exist under the account in question. Let us know if the issue continues after moving or disabling those php.ini files. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments