服务器之家:专注于服务器技术及软件下载分享
分类导航

Linux|Centos|Ubuntu|系统进程|Fedora|注册表|Bios|Solaris|Windows7|Windows10|Windows11|windows server|

服务器之家 - 服务器系统 - Centos - Centos5.2配置LAMP与Centos5.3配置LAMP(14)

Centos5.2配置LAMP与Centos5.3配置LAMP(14)

2019-10-11 14:12Centos教程网 Centos

enable-rewrite=shared \ enable-static-support \ disable-userdir make make install cd .. #安装PHP tar jxvf php-5.2.6.tar.bz2 cd php-5.2.6 ./configure \ prefix=/usr/local/php \ with-apxs2=/usr/local/a

“–enable-rewrite=shared” \ 
“–enable-static-support” \ 
“–disable-userdir” 
make 
make install 
cd .. 

#安装PHP 

tar jxvf php-5.2.6.tar.bz2 
cd php-5.2.6 
./configure \ 
“–prefix=/usr/local/php” \ 
“–with-apxs2=/usr/local/apache2/bin/apxs” \ 
“–with-config-file-path=/usr/local/php/etc” \ 
“–with-mysql=/usr/local/mysql” \ 
“–with-gd=/usr/local/gd2″ \ 
“–with-libxml-dir=/usr” \ 
“–with-jpeg-dir” \ 
“–with-png-dir” \ 
“–with-freetype-dir” \ 
“–with-zlib ” \ 
–with-iconv-dir=/usr/local \ 
“–with-openssl=/usr/local/ssl” \ 

延伸 · 阅读

精彩推荐