Update php4 to php5 and recompile extension

user warning: Unknown column 'u.signature_format' in 'field list' query: SELECT c.cid as cid, c.pid, c.nid, c.subject, c.comment, c.format, c.timestamp, c.name, c.mail, c.homepage, u.uid, u.name AS registered_name, u.signature, u.signature_format, u.picture, u.data, c.thread, c.status FROM comments c INNER JOIN users u ON c.uid = u.uid WHERE c.nid = 9 AND c.status = 0 ORDER BY c.thread DESC LIMIT 0, 30 in /home/cmsdd/domains/cmsdd.com/public_html/modules/comment/comment.module on line 992.

#cd /usr/local/directadmin/customapache
#wget http://files.directadmin.com/services/customapache/php-5.2.4.tar.gz
#nano build
change PHP_VER=4.4.7 to PHP_VER=5.2.4

#yum install -y libc-client libc-client-devel freetype freetype-devel libxml2-devel bzip2-devel shared-mime-info krb5-devel
#nano configure.php_ap2
replace all
***************************************************
#!/bin/sh
./configure \
--prefix=/usr/local/php5 \
--enable-force-cgi-redirect \
--enable-fastcgi \
--with-config-file-path=/usr/local/etc/php5/cgi \
--with-apxs2 \
--with-curl \
--with-curl-dir=/usr/local/lib \
--with-gd \
--with-gd-dir=/usr/local/lib \
--enable-gd-native-ttf \
--with-freetype-dir \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-png-dir=/usr/local/bin \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--enable-zip \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--enable-memory-limit \
--with-iconv \
--enable-exif \
--with-bz2 \
--with-dom \
--with-imap \
--with-imap-ssl
***************************************************

#./build clean
#./build php_ap2 y

#nano /etc/httpd/conf/httpd.conf
************************************************
Comment or delete this line
#LoadModule php4_module /usr/lib/apache/libphp4.so
************************************************

#mkdir -p /usr/local/etc/php5/cgi
#cp /etc/php.ini /usr/local/etc/php5/cgi/
#service httpd restart

Install Zend Optimizer
#./build zend

Restart service
#service httpd restart