gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 19:17:59 25 4
gpt4 key购买 nike

我试图在 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

我遵循了这些说明:

enter link description here

错误是:

http://pastebin.com/DD05uEeJ

希望你们能帮到大家。

最佳答案

似乎每行末尾的反斜杠并不是真的在每行末尾(基于错误)。

您可能想再次尝试复制和粘贴它(来自您自己的问题),它应该可以正常工作。

关于php - 在 Ubuntu 14.04 上安装 PHP 7 并出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30801150/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com