SOLVED ! -- Ubuntu 14 + zm 1.29 error PDO

Forum for questions and support relating to the 1.29.x releases only.
Locked
ssl
Posts: 12
Joined: Thu Feb 18, 2016 11:47 am

SOLVED ! -- Ubuntu 14 + zm 1.29 error PDO

Post by ssl »

Hello, install zm no problem, everything starts ok without errors, but when I open the browser does not display anything. Check error.log of the apache and I get this error:

PHP Fatal error: Class 'PDO' not found in /usr/share/zoneminder/www/includes/database.php on line 34

Help Me!
Last edited by ssl on Thu Feb 18, 2016 1:01 pm, edited 1 time in total.
ssl
Posts: 12
Joined: Thu Feb 18, 2016 11:47 am

Re: Ubuntu 14 + zm 1.29 error PDO

Post by ssl »

Hello, I repaired this way:

Run the command below:
php -m
were not the PDO extensions

edit the file /etc/php5/php.ini
in place of dynamic extensions:

extension=pdo.so
extension=pdo_sqlite.so
extension=pdo_mysql.so
extension=sqlite.so

and restart de apache2

Enjoy!
Locked