Archive for the ‘php’ Category

Linux:How to compile php with mysqli support

Thursday, December 23rd, 2010

While installing php from source with mysqli support could be big trouble , Most of the time it through bellow errors configure: error: Cannot find libmysqlclient under /usr. if you see this kind of error, try to find out where is libmysqlclient into your server, by typing locate libmysqlclient you might see output like this [...]

How to compile php for GD library

Friday, November 13th, 2009

Install necessary software by yum or from source yum install gd gd-devel yum install zlib zlib-devel then a) Download the php source from here : http://www.php.net/downloads.php b) Download the source file in to /tmp directory c) Here I am gussing the php version is php-5.3.0.tar.gz d) Tar –xvzf php-5.3.0.tar.gz e) Cd php-5.3.0 f) ./configure –with-apxs2=/usr/local/apache/bin/apxs [...]