一.源码安装
1.configure-1
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysql-sock=/tmp --with-libxml-dir --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --with-iconv-dir --with-zlib-dir --with-mcrypt=/usr/local/libmcrypt --enable-soap --enable-gd-native-ttf --enable-ftp --enable-mbstring --enable-exif --enable-zend-multibyte --disable-ipv6 --enable-fastcgi --enable-fpm --with-vpx-dir=/usr/local/gd2
make && make install
2.Configure-2
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --datarootdir=/opt/data/php --enable-fpm --with-mysql --with-mysqli --with-zlib --enable-zip --with-gd --enable-mbstring --with-gd --with-mcrypt --with-jpeg-dir --with-freetype-dir --with-xmp-dir --with-mcrypt --with-mhash --with-bz2 --with-openssl
未完续待,要下班咯!
版权声明:本文为博主原创文章,未经博主允许不得转载|Copyright ©2011-2015, Kallen Ding, All Rights Reserved.
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号