错误
Warning! dlname not found in /usr/local/apache2/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules/libphp5.so
chmod: /usr/local/apache2/modules/libphp5.so: No such file or directory
apxs:Error: Command failed with rc=65536
原来是 因为
Both Apache2 and PHP have and is using the correct version: # pwd /usr/local/src/php5-200404070830 # ./libtool --version ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) # /usr/local/apache2/build/libtool --version ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) #
cp /usr/local/apache2/build/libtool /tmp/php5.25/
make install 成功了