We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Undefined class constant 'MYSQL_ATTR_INIT_COMMAND IN ow_core/datbase.php | Forum

Topic location: Forum home » Support » General Questions
Stephan Van der Vaar
Hi, i want to config my cron job but when I have done he change /usr/bin/php /opt/lampp/htdocs/****/ow_core/run.php show this:


PHP Fatal error: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' in /opt/lampp/htdocs/****/ow_core/database.php on line 160.


who can tell me I can do in this case?


Please it's urgent!

Michael I.
Michael I. Jun 20 '12
Seems to be this PDO thaat needs enabling on your server: 
http://php.net/manual/en/ref.pdo-mysql.php
Stephan Van der Vaar
Can I install it?
Michael I.
Michael I. Jun 22 '12
Well, I think you do.