Building php 5.2.1 hangs repeatedly in apxs
Hi All,
I have recently rebuilt my customapache and have everything working with httpd 2.0.59 and php 4.4.4. I have had no success, however, trying to build php 5.2.1
I modified the "build" to use version 5.2.1, and then I ran "./build php_ap2"
Everything seems to go quite smoothly all the way through the main compiling of php5, but after it says "Make Complete" it hangs a little while later. It appears to be hanging inside an invocation of "apxs", and there is an apxs process which I have allowed to run for a long time but never completes.
The command line of the apxs that hangs is:
/usr/bin/perl -w /usr/sbin/apxs -S LIBEXECDIR=/usr/lib/apache -S SYSCONFDIR=/etc/httpd/conf -i -a -n php5 libphp5.la
Here's where the console output from the build script ends:
I have allowed this to run for well over a half-hour, but it hasn't returned. I have tried cleaning out and rebuilding several times, but it doesn't help.
Anyone have any insights? The "libphp5.so" file IS copied into /usr/lib/apache, but I have no idea whether it is usable.
Thanks,
Rick
Hi All,
I have recently rebuilt my customapache and have everything working with httpd 2.0.59 and php 4.4.4. I have had no success, however, trying to build php 5.2.1
I modified the "build" to use version 5.2.1, and then I ran "./build php_ap2"
Everything seems to go quite smoothly all the way through the main compiling of php5, but after it says "Make Complete" it hangs a little while later. It appears to be hanging inside an invocation of "apxs", and there is an apxs process which I have allowed to run for a long time but never completes.
The command line of the apxs that hangs is:
/usr/bin/perl -w /usr/sbin/apxs -S LIBEXECDIR=/usr/lib/apache -S SYSCONFDIR=/etc/httpd/conf -i -a -n php5 libphp5.la
Here's where the console output from the build script ends:
Code:
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
Make Complete
Copying php.ini..
/usr/local/lib/php.ini already exists, skipping.
Increasing memory limit to 20M...
Installing php...
Installing PHP SAPI module: apache2handler
/var/www/build/instdso.sh SH_LIBTOOL='/var/www/build/libtool' libphp5.la /usr/lib/apache
/var/www/build/libtool --mode=install cp libphp5.la /usr/lib/apache/
cp .libs/libphp5.so /usr/lib/apache/libphp5.so
cp .libs/libphp5.lai /usr/lib/apache/libphp5.la
libtool: install: warning: remember to run `libtool --finish /usr/local/directadmin/customapache/php-5.2.1/libs'
chmod 755 /usr/lib/apache/libphp5.so
I have allowed this to run for well over a half-hour, but it hasn't returned. I have tried cleaning out and rebuilding several times, but it doesn't help.
Anyone have any insights? The "libphp5.so" file IS copied into /usr/lib/apache, but I have no idea whether it is usable.
Thanks,
Rick
Last edited: