Forum Moderators: coopster
1) I added my domain name to the BIND server
2) I downloaded the last stable Apache version, 2.2.3, and installed it
using:
./configure --prefix=/usr/local/apache --enable-so --enable-module=rewrite
make
make install
3) I tested it, it worked.
4) I downloaded the last stable PHP version, 5.1.6, and installed it using
the MINIMUM configuration possible (not even MySQL):
./configure --with-apxs2=/usr/local/apache/bin/apxs
make
make install
"make install" gave me that error:
==================================
[root@server php-5.1.6]# make install
Installing PHP SAPI module: apache2handler
/usr/local/apache/build/instdso.sh
SH_LIBTOOL='/usr/local/apache/build/libtool' libphp5.la
/usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp libphp5.la
/usr/local/apache/modules/
cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la
cp .libs/libphp5.a /usr/local/apache/modules/libphp5.a
ranlib /usr/local/apache/modules/libphp5.a
chmod 644 /usr/local/apache/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish
/root/zzz/php-5.1.6/libs'
Warning! dlname not found in /usr/local/apache/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache/modules/libphp5.so
chmod: cannot access `/usr/local/apache/modules/libphp5.so': No such file or
directory
apxs:Error: Command failed with rc=65536
==================================
The problem is that libphp5.so is not generated from "make".
I found those related links:
[fedoraforum.org...]
[bugs.php.net...]
Following the recommendations I tried:
1) using the bz2 version of the PHP distribution and not the gz one
2) I installed getText ( [gnu.org...] ) because some
say an included library, "libintl.so", could help. But I couldn't find that
library after getText was sucessfully compiled.
3) I chomed everything to 777 in the php directory
4) I installed the last stable libtool, 1.5.22
Nothing worked, I still have that libphp5.so error.
Any help would be really appreciated. And I really mean it!
my line to compile apache was incorrect:
./configure --prefix=/usr/local/apache --enable-so --enable-module=rewrite
should be (because it is apache 2.X):
./configure --prefix=/usr/local/apache --enable-so --enable-rewrite
But that doesn't change anything to my message. I was unable to compile PHP 5.1.6. PHP 5.1.5 worked.