huixing201200 2019-06-20 16:44 采纳率: 0%
浏览 451

PHP编译安装提示bash找不到对应的功能包

安装报错如下提示:但软件包已经安装,不明白为什么会提示bash找不到,PATH也检查没什么问题。
./configure \
--prefix=/application/php5.3.3 \
--with-mysql=/application/mysql \
--with-iconv-dir=/usr/local/libiconv/ \
--with-freetype-dir \
--with-jpeg-dir \
--with-png-dir \
--with-zlib \
--with-libxml-dir=/usr \
--enable-xml \
--disable-rpath \
--enable-safe-mode \
--enable-bcmath \
--enable-shmop \
--enable-sysvsem \
--enable-inline-optimization \
--with-curl \
--with-curlwrappers \
--enable-mbregex \
--enable-fpm \
--enable-mbstring \
--with-mcrypt \
--with-gd \
--enable-gd-native-ttf \
--with-openssl \
--with-mhash \
--enable-pcntl \
--enable-sockets \
--with-xmlrpc \
--enable-zip \
--enable-soap \
--enable-short-tags \
--enable-zend-multibyte \
--enable-static \
--with-xsl \
--enable-ftp \
--with-fpm-user=nginx \
--with-fpm-group=nginx \

[root@WEB1 php-5.3.27]# --with-freetype-dir \

--with-jpeg-dir \
--with-png-dir \
--with-zlib \
--with-libxml-dir=/usr \
--enable-xml \
--disable-rpath \
-bash: --with-freetype-dir: command not found
[root@WEB1 php-5.3.27]# --enable-safe-mode \
-bash: --enable-safe-mode: command not found
[root@WEB1 php-5.3.27]# --enable-bcmath \
--enable-shmop \
--enable-sysvsem \
-bash: --enable-bcmath: command not found
[root@WEB1 php-5.3.27]# --enable-inline-optimization \
-bash: --enable-inline-optimization: command not found
[root@WEB1 php-5.3.27]# --with-curl \
--with-curlwrappers \
-bash: --with-curl: command not found
[root@WEB1 php-5.3.27]# --enable-mbregex \
--enable-fpm \
-bash: --enable-mbregex: command not found
[root@WEB1 php-5.3.27]# --enable-mbstring \
--with-mcrypt \
--with-gd \
--enable-gd-native-ttf \
-bash: --enable-mbstring: command not found
[root@WEB1 php-5.3.27]# --with-openssl \
--with-mhash \
--enable-pcntl \
-bash: --with-openssl: command not found
[root@WEB1 php-5.3.27]# --enable-sockets \
-bash: --enable-sockets: command not found
[root@WEB1 php-5.3.27]# --with-xmlrpc \
--enable-zip \
--enable-soap \
--enable-short-tags \
-bash: --with-xmlrpc: command not found
[root@WEB1 php-5.3.27]# --enable-zend-multibyte \
-bash: --enable-zend-multibyte: command not found
[root@WEB1 php-5.3.27]# --enable-static \
--with-xsl \
--enable-ftp \
-bash: --enable-static --with-xsl: command not found
[root@WEB1 php-5.3.27]# --with-fpm-user=nginx \
-bash: --with-fpm-user=nginx: command not found
[root@WEB1 php-5.3.27]# --with-fpm-group=nginx \
为什么会一直显示bash找不到,求高手赐教。

  • 写回答

1条回答 默认 最新

  • red985 2022-07-07 13:18
    关注

    大哥你是怎么解决的

    评论

报告相同问题?

悬赏问题

  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?