[英]Install / Uninstall php-5.2.17 using phpfarm
I installed php-5.2.17 earlier using simply 我之前使用简单安装了php-5.2.17
./compile.sh 5.2.17
I didn't define any custom options. 我没有定义任何自定义选项。 But later I realized that it is using cgi and I want it to use fastcgi so i created the custom file as 但是后来我意识到它正在使用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 \
"
Now when i compile using the above command, it gives 现在,当我使用上述命令进行编译时,它给出了
5.2.17 5 2 17
configure: error: can only configure for one host and one target at a time
configure.sh failed.
Please note that I have patched all the necessary stuff that needs to be as per online tutorials. 请注意,我已经按照在线教程修补了所有必需的内容。
I am using Ubuntu 14.4 我正在使用Ubuntu 14.4
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.