Well, I've done it again. I managed to crash php and the scripts I need to run just load into Safari as text. Since my versions of Apache and PHP were out of date, I tried to install the updates. I actually followed the installation instructions, but the 1st step returns an error and the 2nd step doesn't work:
$ ./configure --prefix=/private/etc/httpd-2.4.4
$ make
$ make install
$ /private/etc/httpd-2.4.4/bin/apachectl start
When I start with the './configure --prefix=/private/etc/httpd-2.4.4', I get this message:
server:httpd-2.4.4 tim$ ./configure --prefix=/private/etc/httpd-2.4.4
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking build system type... i386-apple-darwin12.4.0
checking host system type... i386-apple-darwin12.4.0
checking target system type... i386-apple-darwin12.4.0
configure:
configure: Configuring Apache Portable Runtime library...
configure:
checking for APR... yes
setting CC to "/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc"
setting CPP to "/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc -E"
setting CFLAGS to " "
setting CPPFLAGS to " -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK"
setting LDFLAGS to " "
configure:
configure: Configuring Apache Portable Runtime Utility library...
configure:
checking for APR-util... yes
checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc
[U]checking whether the C compiler works... no
configure: error: in `/private/etc/httpd-2.4.4':[/U]
configure: error: C compiler cannot create executables
See `config.log' for more details
server:httpd-2.4.4 tim$ make
-bash: make: command not found
server:httpd-2.4.4 tim$
The 'make' command renders:
make: command not found
and then, the whole thing dies.