I'm having problems installing PHP on Red Hat from the source. I installed Apache2 with this parameter
./configure --prefix=/www --enable-module=so
There wasn't any trouble so I did the make and make install. Now I'm trying to install(configure the installation) PHP with:
./configure --with-mysql --with-apxs2=/www/bin/apxs --prefix=/usr/local
And it gives no error while doing that. But whenever I try to do the make, it gives this ugly error:
...ext/libxml/libxml.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
Any suggestions on what I'm doing wrong?