./configure --enable-opcache --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --enable-mbstring=all --with-pdo-mysql --enable-sockets --enable-mbstring --enable-fpm --with-curl --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --enable-xml --with-gd --with-mcrypt --with-libxml-dir=/usr --enable-xml --with-openssl --with-iconv=/usr/local/iconv
在我的环境中没有安装mysql,外接阿里云数据库
mysql那一部分怎么编译啊?
给我你的怀抱2017-05-16 13:03:41
Mysql正常安装就行,php安装mysql扩展,`--with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config`具体教程网上很多很多,楼主一步步按照教程来就可以,写的一般都挺详细的。
附个地址:
http://www.jb51.net/article/9...