The solution is update php to 4.4.0. I found help in TrixBox forum, execute the following:
Code:
cd /usr/src/
wget http://us2.php.net/distributions/php-4.4.0.tar.gz
tar zvxf php-4.4.0.tar.gz
yum install httpd-devel.i386 gmp-devel unixODBC-devel.i386 libjpeg-devel libpng-devel freetype-devel imap-devel pcre-devel aspell-devel net-snmp-devel libxslt-devel bzip2-devel libc-client-devel.i386 glibc-devel-2.3.4-2.19 gcc-3.4.5-2 automake-1.9.2-3
cd php-4.4.0
./configure --host=i386-redhat-linux --build=i386-redhat-linux \
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr \
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin \
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include \
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var \
--sharedstatedir=/usr/com --mandir=/usr/share/man \
--infodir=/usr/share/info --cache-file=../config.cache \
--with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d \
--enable-force-cgi-redirect --disable-debug --enable-pic \
--disable-rpath --enable-inline-optimization --with-bz2 \
--with-db4=/usr --with-curl --with-exec-dir=/usr/bin \
--with-freetype-dir=/usr --with-png-dir=/usr --with-gd \
--enable-gd-native-ttf --without-gdbm --with-gettext \
--with-ncurses --with-gmp --with-iconv --with-jpeg-dir=/usr \
--with-openssl --with-png --with-pspell --with-regex=system \
--with-xml --with-expat-dir=/usr --with-dom=shared,/usr \
--with-dom-xslt=/usr --with-dom-exslt=/usr --with-xmlrpc=shared \
--with-pcre-regex=/usr --with-zlib --with-layout=GNU \
--enable-bcmath --enable-exif --enable-ftp --enable-magic-quotes \
--enable-sockets --enable-sysvsem \
--enable-sysvshm --enable-discard-path --enable-track-vars \
--enable-trans-sid --enable-yp --enable-wddx --without-oci8 \
--with-pear=/usr/share/pear --with-imap=shared --with-imap-ssl \
--with-kerberos --with-ldap=shared --with-mysql=/usr \
--with-snmp=shared,/usr --with-snmp=shared \
--enable-ucd-snmp-hack --with-unixODBC=shared --enable-memory-limit \
--enable-bcmath --enable-shmop --enable-calendar --enable-dbx \
--enable-dio --enable-mcal --enable-mbstring=shared \
--enable-mbstr-enc-trans --enable-mbregex --with-apxs2=/usr/sbin/apxs
make
rpm -e php-4.3.9-3.9 php-pear-4.3.9-3.9 php-mbstring-4.3.9-3.9 php-gd-4.3.9-3.9 php-mysql-4.3.9-3.9
make install
cp /etc/php.ini.rpmsave /etc/php.ini
cp /etc/httpd/conf.d/php.conf.rpmsave /etc/httpd/conf.d/php.conf
/etc/init.d/httpd restart
Bookmarks