Leaving directory ` / home / master / php-4.0.1 / ext / standard' make[2]: *** [all-recursive] Error 1 make[2]:
There are three things to check here. First, for some reason when Apache builds the apxs Perl script, it sometimes ends up getting built without the proper compiler and flags variables. Find your apxs script (try the command which apxs, it's sometimes found in /usr/local/apache/bin/apxs or /usr/sbin/apxs. Open it and check for lines similar to these: