2015-06-12 45 views
0

我試圖編譯在Ubuntu 14.04 PHP7但在運行此命令在Ubuntu 14.04安裝PHP 7和得到錯誤

./configure \ 
--prefix=$HOME/php7/usr \ 
--with-config-file-path=$HOME/php7/usr/etc \ 
--enable-mbstring \ 
--enable-zip \ 
--enable-bcmath \ 
--enable-pcntl \ 
--enable-ftp \ 
--enable-exif \ 
--enable-calendar \ 
--enable-sysvmsg \ 
--enable-sysvsem \ 
--enable-sysvshm \ 
--enable-wddx \ 
--with-curl \ 
--with-mcrypt \ 
--with-iconv \ 
--with-gmp \ 
--with-pspell \ 
--with-gd \ 
--with-jpeg-dir=/usr \ 
--with-png-dir=/usr \ 
--with-zlib-dir=/usr \ 
--with-xpm-dir=/usr \ 
--with-freetype-dir=/usr \ 
--with-t1lib=/usr \ 
--enable-gd-native-ttf \ 
--enable-gd-jis-conv \ 
--with-openssl \ 
--with-mysql=/usr \ 
--with-pdo-mysql=/usr \ 
--with-gettext=/usr \ 
--with-zlib=/usr \ 
--with-bz2=/usr \ 
--with-recode=/usr \ 
--with-mysqli=/usr/bin/mysql_config 

後出錯我跟着這些insctructions:

enter link description here

的錯誤是:

http://pastebin.com/DD05uEeJ

希望你能幫助大家。

+0

你得到了什麼錯誤? –

+0

不好意思更新了:) 爲什麼腳本無法找到目錄或命令。但如果我遵循指示應該是好的。 –

回答

0

似乎每行末尾的反斜槓並不在每行的末尾(基於錯誤)。

你可能想嘗試複製並粘貼它(從你自己的問題),它應該正常工作。

+0

爲什麼這個答案不被接受? –