Wednesday, August 26, 2009

PHP Error after updating to 5.2.6 (Ubuntu 9.04)

After updating to PHP 5.2.6 using the update manager, I got the following error:

php: symbol lookup error: /usr/lib/php5/20060613+lfs/pdo_mysql.so: undefined symbol: php_pdo_declare_long_constant

To fix, I simply installed the php5-mysql package using Synaptic Package Manager.

Reference: https://lists.ubuntu.com/archives/ubuntu-server-bugs/2009-February/009968.html