Created
May 20, 2015 12:27
-
-
Save liujingyu/616490db17e31fc49292 to your computer and use it in GitHub Desktop.
centos6.5 apache2.4.9+php5.5.25安装
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[apache] | |
wget http://geekpeek.net/download/httpd-2.4.9-RPM-full.x86_64.tgz | |
tar -xvzf httpd-2.4.9-RPM-full.x86_64.tgz | |
cd httpd-2.4.9-RPM-full.x86_64 | |
yum -y localinstall * --skip-broken | |
<FilesMatch \.php$> | |
SetHandler application/x-httpd-php | |
</FilesMatch> | |
[php] | |
download php-5.5.25.tar.bz2 | |
./configure --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d | |
--with-libdir=lib64 --with-apxs2 --with-mysql --with-mysqli --with-zlib | |
--enable-mbstring --enable-zip --enable-fpm --with-gd --with-mcrypt | |
--enable-pdo --with-pdo-mysql --with-curl --enable-opcache | |
make && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment