# tar zvxf php-5.1.2.tar.gz# CD php-5.1.2#./configure--prefix=/usr/local/php--with-mysql=/usr/local/mysql--with-apxs2=/usr/local/apache/bin/apxs-- With-libxml-dir=/usr/local/include/libxml2/libxml--WITH-GD--with-zlib# make# make Install#Note: During
Many people think that the error message is that apxs does not exist. The real reason is that apxs cannot run.
Just tested. The first line of APACHE-generated apxs compiled and installed without Perl is :#! /Replace/with/path/to/perl/interpreter-w.
The root phpize is very similar, you can use APXS for Apache to play modules:To use APXS, your platform must support DSO features, and Apache must have httpd built-in Mod_so modules. Take a lookHttpd-l | grep mod_soAll parameters:[[Email protected]]
I got a strange error message when I used -- with-apxs to compile PHP. There are two ways to check. First, when Apache creates an apxsPerl program, it does not contain the correct compilation parameters for some reasons. Edit your apxs (in
There are two ways to check. First, when Apache creates an apxs Perl program, it does not contain the correct compilation parameters for some reasons. Edit your apxs (in/usr/local/apache/bin/apxs or/usr/sbin/apxs) and check the following lines:My $
Original http://www.myxzy.com/post-348.html address
Http://sudhir-web.blogspot.com/2012/07/how-to-install-nginx-with-php-and-mysql.html compilation Error
The Virtual Machine virtualbox version is 4.1.20 (the memory is set to 512 MB, and centos is
I don't know why I wrote this log. Maybe Matlab is rarely used in Linux in the future, and this Perl and Matlab interfaces will not be used.
After the installation is complete, simply record the process.
For the installation of Matlab, please refer
1. Go to the PHP website to download the source http://www.php.net/downloads.php, I download the version used is (php-5.4.8.tar.gz)2. Installation EnvironmentYum Install XML22. Extract to/usr/src directory, execute command: sudo tar-zxvf
I. Installation of Apache2.2.221, to the official website download http://httpd.apache.org/download.cgi2, decompressionTAR-ZXVF httpd-2.2.22.tar.gz3, establish the target folder (note that all of the following actions are performed under
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.