php - Error on new server: PDO not found (supposed to be activated) -
i configured cpanel server , transferred websites it. works fine except symfony2 website. here's error:
fatal error: class 'pdo' not found in /home/cosml/public_html/vendor/doctrine-dbal/lib/doctrine/dbal/driver/pdoconnection.php on line 32
i use pdo in other websites, don't understand. checked in phpinfo; no pdo section. tried rebuild apache in whm pdo activated no difference. don't know what's going on,
to enable pdo in system php:
- login whm
- click apache update
- click start customizing based on profile
- select apache version
- click next step
- select php 5
- click next step
- select version of php 5
- click next step
- click exhaustive options list button
- scroll down check box labeled pdo
- click save , build
source : http://forums.cpanel.net/f5/enable-pdo-78853.html
also, did restart apache after enablind pdo ?
Comments
Post a Comment