[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cron daemon sends me errors re: php, mysql, apache



On Mon, 07 Mar 2011 23:40:55 -0500, Mark Grieveson wrote:

> Hello.  I recently upgraded to Squeeze, and I'm getting various cron
> daemon errors mailed to me:
> 
> Date: Mon, 07 Mar 2011 17:09:01 -0500 From: Cron Daemon <root@debian>
> To: root@debian
> Subject: Cron <root@debian>   [ -x /usr/lib/php5/maxlifetime ] && [ -d
>         /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin
>         +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm
> 
> PHP Deprecated:  Comments starting with '#' are deprecated in
> /etc/php5/cli/conf.d/mysql.ini on line 1 in Unknown on line 0 PHP

(...)

Those seem to be syntax warnings on the mentioned files, just check it 
out and correct the offending lines. Probably you will have to use ";" 
instead "#" for comments (if this is now an upstream default and your PHP 
package came from Debian repos, you can report it).

> Warning:  PHP Startup: Unable to load dynamic library
> '/usr/lib/php5/20090626+lfs/mysql.so' -
> /usr/lib/php5/20090626+lfs/mysql.so: cannot open shared object file: No
> such file or directory in Unknown on line +0 

(...)

This looks a bit more serious... oh, a bug has been already reported:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593266

(see comment #20 for a possible workaround)

Greetings,

-- 
Camaleón


Reply to: