I recently upgraded a small server to Ubuntu 12.10 (from 12.04), thus upgrading PHP from 5.3 to 5.4. However, I'm getting this in root's mailbox several times a day:
Subject: Cron <root@xxxxxxx> [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -ignore_readdir_race -cmin +$(/usr/lib/php5/maxlifetime) !
I disabled all my cron jobs by putting a # in front of them.
Ubuntu has a cron job set up which looks for and deletes old PHP sessions:
# Look for and purge old sessions every 30 minutes
09,39 * * * * root [ -x /usr/lib/php5/maxlifetime ] \
&& [ -d /var/lib/php5 ] && find /var/lib/php5/ -depth -mindepth 1 \
-maxdepth 1 -type f -cmin +$(/usr/lib/php5/maxlifetime) !
I'm trying to set up nginx with PHP5 and MySQL on my production VPS. The reason I chose nginx over Apache was because the VPS isn't high spec.
nginx is installed, and is successfully serving static pages like it should.
Hi guys, I'm trying to install php5 in SUSE. After unpacking and ./configure the installation halts giving me the error "configure: error: libxml2 version 2.6.11 or greater required."
I have installed both libxml2 and libxml2-dev through yast, but that only has upto version 2.6.7.
Can anyone give me some instructions on how to get the newest version? Thanks
I've already asked same question in stackoverflow.I need some more help.
I’m trying to upgrade libxml2 from 2.6.26 to 2.7.7 on CentOS5.5
I installed libxml2-2.7.7 in /opt/libxml2-2.7.7/bin/
I'd already installed 2.6.26 in /usr by yum install libxml2 libxml2-devel.
When I configur PHP5.3 --with-libxml-dir=/opt/libxml2-2.7.7/bin message shows.
checking whether to enable LIBXML support...
phpinfo says the file location is /etc/php5/fpm/php.ini.
Additional .ini files parsed /etc/php5/fpm/conf.d/curl.ini, /etc/php5/fpm/conf.d/gd.ini, /etc/php5/fpm/conf.d/mcrypt.ini, /etc/php5/fpm/conf.d/mysql.ini, /etc/php5/fpm/conf.d/mysqli.ini, /etc/php5/fpm/conf.d/pdo.ini, /etc/php5/fpm/conf.d/pdo_mysql.ini, /etc/php5/fpm/conf.d/xcache.ini
Looking in them none of them have anything that deal
dpkg: error processing phpmyadmin (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
php5-common
man-db
php5-cgi
php5-cli
libapache2-mod-php5
php5-gd
php5-mysql
dbconfig-common
php5-mcrypt
phpmyadmin
E: Sub-process /usr/bin/dpkg returned an e
I can't install php5-apc:
~# apt-get install php5-apc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed.