- 论坛徽章:
- 0
|
我在AIX5.1下安装APACHE2.0.54成功,但在安装PHP4.4.0时出现很怪的现象.具体如下:\r\nPHP4.4.0安装设置:\r\n./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\r\n通过.\r\nmake\r\n通过.\r\nmake install\r\n出现以下提示:\r\n# make install\r\nInstalling PHP SAPI module: apache2handler\r\n/usr/local/apache2/build/instdso.sh SH_LIBTOOL=\'/usr/local/apache2/build/libtool\r\n\' libphp4.la /usr/local/apache2/modules\r\nrm -f /usr/local/apache2/modules/libphp4.so\r\n/usr/local/apache2/build/libtool --mode=install cp libphp4.la /usr/local/apache2\r\n/modules/\r\ncp .libs/libphp4.a /usr/local/apache2/modules/libphp4.a\r\ncp .libs/libphp4.lai /usr/local/apache2/modules/libphp4.la\r\nlibtool: install: warning: remember to run `libtool --finish /usr/local/src/php-\r\n4.4.0/libs\'\r\nchmod 755 /usr/local/apache2/modules/libphp4.so\r\nchmod: /usr/local/apache2/modules/libphp4.so: A file or directory in the path na\r\nme does not exist.\r\napxs:Error: Command failed with rc=65536\r\n.\r\nmake: 1254-004 The error code from the last command is 1.\r\n\r\n\r\nStop.\r\n#\r\n不能通过.\r\n疑问点:从提示信息的第四行rm -f /usr/local/apache2/modules/libphp4.so可见已经从/usr/local/apache2/modules目录中删除了libphp4.so,而在第十一行chmod 755 /usr/local/apache2/modules/libphp4.so中又要执行对libphp4.so进行操作的命令,以至出错.\r\n请教达人,为什么会这样,及如何才能避免. |
|