We attempted to upgrade from MySQL 5.0 to 5.5. After some trouble (with rubygems which we removed ruby). We got the upgrade to work. During the apache (2.2)and php(5.4) recompiles, I went into the complete list of options and made sure PDO and mysql_pdo were checked.
Everything appears to have compiled. However all of our sites that use the PDO MySQL error out with "Class 'PDO' not found"
The extensions pdo.so and pdo_mysql.so are enabled in php.ini (and exist in the extensions directory). php -m lists PDO and pdo_mysql. phpinfo claims PDO is enabled and says:
PDO drivers sqlite, mysql
pdo_mysql
PDO Driver for MySQL enabled
pdo_mysql.default_socket /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock
Everything looks right to me and we've tried everything we can think of including recompiling, restaring, and rebooting. We still end up with the same error.
What might we be doing wrong?
Everything appears to have compiled. However all of our sites that use the PDO MySQL error out with "Class 'PDO' not found"
The extensions pdo.so and pdo_mysql.so are enabled in php.ini (and exist in the extensions directory). php -m lists PDO and pdo_mysql. phpinfo claims PDO is enabled and says:
PDO drivers sqlite, mysql
pdo_mysql
PDO Driver for MySQL enabled
pdo_mysql.default_socket /var/lib/mysql/mysql.sock /var/lib/mysql/mysql.sock
Everything looks right to me and we've tried everything we can think of including recompiling, restaring, and rebooting. We still end up with the same error.
What might we be doing wrong?