安装报错如下提示:但软件包已经安装,不明白为什么会提示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找不到,求高手赐教。