使用phpfarm安装/卸载php-5.2.17
我在前面使用simply安装了php-5.2.17使用phpfarm安装/卸载php-5.2.17,php,server,phpfarm,Php,Server,Phpfarm,我在前面使用simply安装了php-5.2.17 ./compile.sh 5.2.17 我没有定义任何自定义选项。但后来我意识到它使用的是cgi,我希望它使用fastcgi,所以我创建了自定义文件 configoptions=" –enable-cli \ –with-pear \ –with-openssl=/usr \ –with-iconv \ –with-curl \ –with-mysqli \ –enable-mbstri
./compile.sh 5.2.17
我没有定义任何自定义选项。但后来我意识到它使用的是cgi,我希望它使用fastcgi,所以我创建了自定义文件
configoptions="
–enable-cli \
–with-pear \
–with-openssl=/usr \
–with-iconv \
–with-curl \
–with-mysqli \
–enable-mbstring \
–enable-exif \
–with-jpeg-dir=/usr \
–with-zlib \
–with-zlib-dir \
–with-png-dir=/usr \
–with-gd \
–with-gettext \
–enable-gd-native-ttf \
–with-mhash \
–enable-ftp \
–with-pspell \
–with-mcrypt \
–enable-bcmath \
–with-mime-magic \
–with-pdo-mysql \
–enable-sockets \
–enable-soap \
–enable-calendar \
–enable-fastcgi \
–enable-force-cgi-redirect \
"
现在,当我使用上面的命令编译时,它给出
5.2.17 5 2 17
configure: error: can only configure for one host and one target at a time
configure.sh failed.
请注意,我已经修补了所有必要的东西,需要根据在线教程
我正在使用Ubuntu14.4我浏览了php farm github页面,其中的一部分引起了我的注意
它描述了一个
custom/default versions.txt
文件通常用于重新编译相同的php版本。但我的案例中不存在这样的目录或文件您是否在php farm/src
目录中?o是。。。试图找到的是src目录。。我认为这是我们需要为默认配置创建的东西