简体   繁体   English

在Ubuntu 14.04上安装PHP 7并出现错误

[英]Installing PHP 7 on Ubuntu 14.04 and getting errors

I trying to compile PHP7 on Ubuntu 14.04 but getting errors after running this command 我试图在Ubuntu 14.04上编译PHP7,但是在运行此命令后出现错误

./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

I followed these insctructions: 我遵循以下指示:

enter link description here 在此处输入链接说明

The errors are: 错误是:

http://pastebin.com/DD05uEeJ http://pastebin.com/DD05uEeJ

Hope you can help guys. 希望你能帮到大家。

Seems like the backslash at the end of each line isn't really at the end of each line (based upon the errors). 似乎每行末尾的反斜杠实际上并不是在每行末尾(基于错误)。

You might want to try copying and pasting it (from your own question) again and it should work properly. 您可能想再次尝试复制并粘贴(根据您自己的问题),它应该可以正常工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM