1
我安裝了PHP-5.2.17較早使用簡單使用phpfarm
./compile.sh 5.2.17
我沒有定義任何自定義選項安裝/卸載的PHP 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.
請注意我已經修補了所有需要按照在線教程提供的必要內容。
我使用Ubuntu 14.4
但我的情況下不存在這樣的目錄或文件 – 2015-03-19 12:27:45
你在'php-farm/src'目錄下嗎? – 2015-03-19 12:40:14
○是...試圖找到它是src目錄..我認爲這是我們需要創建的默認配置 – 2015-03-19 12:57:32