Page 1 of 1

SOLVED ! -- Ubuntu 14 + zm 1.29 error PDO

Posted: Thu Feb 18, 2016 12:44 pm
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!

Re: Ubuntu 14 + zm 1.29 error PDO

Posted: Thu Feb 18, 2016 1:00 pm
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!