Archive for the ‘Apache’ Category.

Apache + PHP compilation error

Bump into some issues when compiling Apache 2.2.15 and PHP 5.2.14

Problem:

 
Make complete
Installing php-5.2.14...
Installing PHP SAPI module:       apache2handler
/usr/local/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/apache2/build/libtool' libphp5.la /usr/local/apache2/modules
/usr/local/apache2/build/libtool --mode=install cp libphp5.la /usr/local/apache2/modules/
libtool: install: `libphp5.la' is not a valid libtool archive
Try `libtool --help --mode=install' for more information.
apxs:Error: Command failed with rc=65536

Solutions:

cp /root/php-5.2.14/libphp5.la /usr/local/apache2/modules/

Not sure what happen but it fixed my problems 😉

Hope this helps …