Required software and version information
centos-6.4
apache-2.2.29
php-5.4.15
mysql-5.5.28
1. Installing libxml-2.9.2
Using the centos-6.4 Yum source installed libxml is 2.7.6, if you need to use Phpexcel to generate Excel2007 files, you must download the source code installed on the official website. Address: http://www.xmlsoft.org/
#解压, and enter the directory TAR-ZXVF LIBXML2-NN.TAR.GZCD libxmlnn# default installation./configuremake; Make install
may be error when make, can ignore directly, continue make install. When the installation is complete, use the following command if you see the version information to indicate that the installation was successful.
Xml2-config--version
2. Uninstall the httpd server that comes with CentOS
use the following command to view the httpd version of CentOS, and also to see if the test was successfully uninstalled
#查看httpd版本信息httpd-v# If httpd is present, uninstall Yum-y remove httpd# again to check for successful uninstallation httpd-v
3. Install the software required to configure the server