Trích:
[root@localhost php-5.3.6]# make install
Installing PHP SAPI module: apache2handler
/web/apache/build/instdso.sh SH_LIBTOOL='/usr/local/apr/build-1/libtool' libphp5.la /web/apache/modules
/usr/local/apr/build-1/libtool --mode=install cp libphp5.la /web/apache/modules/
cp .libs/libphp5.lai /web/apache/modules/libphp5.la
cp .libs/libphp5.a /web/apache/modules/libphp5.a
chmod 644 /web/apache/modules/libphp5.a
ranlib /web/apache/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish /tmp/php-5.3.6/libs'
Warning! dlname not found in /web/apache/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /web/apache/modules/libphp5.so
chmod: cannot access `/web/apache/modules/libphp5.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1
|
Em cài apache 2.2.19 voi php 5.3.6 với configure lần lượt là:
Trích:
|
./configure --prefix=/web/apache --enable-module=unique_id --enable-module=rewrite --enable-module=expires --enable-module=userdir --enable-so
|
Trích:
|
./configure --with-apxs2=/web/apache/bin/apxs --with-mysql --enable-mbstring
|
Thử rất nhiều lần nhưng vẫn bị lỗi trên. Mong các anh giúp đỡ. Em xin cám ơn.