您的位置:首页 > 运维架构 > Linux

linux 编译安装 php

2014-09-02 00:00 10 查看
摘要: linux 编译安装 php

//配置

./configure --prefix=/usr/local/php_test --with-config-file-path=/usr/local/php_test/etc --enable-fpm --with-fpm-user=www --with-fpm-group=www --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-magic-quotes --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --enable-mbregex --enable-mbstring --with-mcrypt --enable-ftp --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --disable-fileinfo

此时我的电脑上出现一个问题就是关于iconv出错 是这个库的问题

make ZEND_EXTRA_LIBS='-liconv'

//make test 测试 ,如果没问题就安装

make && make install
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: