- 论坛徽章:
- 0
|
我在AIX5.1下安装APACHE2.0.54成功,但在安装PHP4.4.0时出现很怪的现象.具体如下:
PHP4.4.0安装设置:
./configure --prefix=/usr/local/php4 --with-config-file-path=/usr/local/php4 --with-apxs2=/usr/local/apache2/bin/apxs --with-gd=/opt/freeware --enable-gd --enable-gd-native-ttf --with-jpeg-dir=/opt/freeware --with-png --with-ttf --with-zlib --enable-magic-quotes --with-mysql=/usr/local/mysql --with-mysql-sock=/tmp/mysql.sock --with-iconv --with-mbstring --enable-mbstring --enable-track-vars --enable-ftp --with-libxml-dir=/usr/lib
通过.
make
通过.
make install
出现以下提示:
# make install
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool
' libphp4.la /usr/local/apache2/modules
rm -f /usr/local/apache2/modules/libphp4.so
/usr/local/apache2/build/libtool --mode=install cp libphp4.la /usr/local/apache2
/modules/
cp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a
cp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish /usr/local/src/php-
4.4.0/libs'
chmod 755 /usr/local/apache2/modules/libphp4.so
chmod: /usr/local/apache2/modules/libphp4.so: A file or directory in the path na
me does not exist.
apxs:Error: Command failed with rc=65536
.
make: 1254-004 The error code from the last command is 1.
Stop.
#
不能通过.
疑问点:从提示信息的第四行rm -f /usr/local/apache2/modules/libphp4.so可见已经从/usr/local/apache2/modules目录中删除了libphp4.so,而在第十一行chmod 755 /usr/local/apache2/modules/libphp4.so中又要执行对libphp4.so进行操作的命令,以至出错.
请教达人,为什么会这样,及如何才能避免. |
|