Share » Forums » General » php runcronjobs.php errors

php runcronjobs.php errors

php runcronjobs.php errors

Monday 28 January 2008 5:53:48 am - 6 replies

Author Message

Ɓukasz Serwatka

Tuesday 29 January 2008 11:36:50 pm

Hi Carlos.

It seems that your CLI PHP does not have mysql extension enabled. You can check available modules with

$ php -m

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Gaetano Giunta

Wednesday 30 January 2008 12:51:58 am

This looks like a very common misstep (I have seen it biting lots of coders).

Maybe we should better document this - OR add a check somewhere for correct php extensions being loaded in php cli - at end of install script might be a good idea...

Principal Consultant International Business
Member of the Community Project Board

Carlos Revillo

Wednesday 30 January 2008 1:49:39 am

that was the problem. php -m doesn't show anything about mysql. i've asked my hosting provider to enable it. Thanks!.

Kristof Coomans

Wednesday 30 January 2008 4:40:25 am

imho in this case the message in the debug output was quite clear, "Warning: (eZMySQLDB) MySQL extension was not found" :)

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Gaetano Giunta

Wednesday 30 January 2008 12:47:15 pm

The message is really very telling, but some developers have no idea that you can be using a different php.ini for cli that the one used for the sapi module, so they look at the error message and are bewildered...

Principal Consultant International Business
Member of the Community Project Board

Carlos Revillo

Wednesday 30 January 2008 1:33:03 pm

Exactly :). Also, when you pay a lot of money to a hosting provider, you think all the extensiones you have asked for are enabled...
thanks everybody for your help.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu