If you try to build PHP 5.x.x on a 64bit CentOS install you may get this error:
checking for specified location of the MySQL UNIX socket... no
checking for MySQL UNIX socket location... /var/lib/mysql/mysql.sock
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.
Looking further ...
By wen, January 24, 2015
This guide assumes you have a minimal CentOS installation and are not planning on running a control panel such as cPanel, which installs the Apache web server for you. Some of the software versions listed below may need to be changed as they are updated. As of the writing of this article, Apache 2.2.16 and PHP 5.3.3 are the latest versions.
Install the required packages using Yum
yum install bison flex gcc db4 db4-devel libx...
By lee, January 24, 2015
The instructions below will walk you through the process of installing the X window system, GNOME desktop environment, and configuring VNC so that you can access it remotely.
yum -y upgrade
yum -y groupinstall "GNOME Desktop Environment"
yum -y install vnc-server
As a general rule of thumb, you should never run X windows as root. In this example, we will add a system user with the username 'wkst' and configure X windo...
By tommy, January 24, 2015
We have found the following guide very useful in this process. This works for both dedicated servers as well as VPS nodes:
cPanel ServersIf your server has cPanel installed you first need to remove filesystem from the exclude line in /etc/yum.conf. If you don't the yum upgrade procedures below will fail.Setting file attributes
chattr -Ria /bin
chattr -Ria /etc
chattr -Ria /etc
chattr -Ria /include
chattr -Ria /lib
By daniel, January 24, 2015