Yup - well, that solves half the problem. I looked up the bug reports and there was a solution posted about this problem. (See Below). I followed it and PHP Make'd and Make Install'd with no problems. However - Apache still errors out with the same error I was getting when PHP was erroring out. Is there a further step that's been discovered?
The Apache Error:
/usr/bin/ld: warning -L: directory name (../modules/php4) does not exist
/usr/bin/ld: warning -L: directory name (../../modules/php4) does not exist
/usr/bin/ld: Undefined symbols:
_DL_UNLOAD
make[2]: [target_static] Error 1
make[1]: [build-std] Error 2
make: *** [build] Error 2
The Posted Fix for PHP 4.0.2>
Setup: installing PHP 4.0.2 as a DSO for Apache 1.3.12 under Mac OS X Server 1.2 via the
quick install.
Apache 1.3.12 is under /usr/local/src/apache_1.3.12/; PHP 4.0.2 under
/usr/local/src/php-4.0.2/ .
Configure: ./configure --mysql=/usr/local --with-apxs=/usr/local/sbin/apxs
Problem: "make install" (the last step in the quick install) fails in the pear
subdirectory -- $$i gets the entire path, which causes $(peardir)/$$dir to be the wrong
path.
Solution: when "make install" breaks with the error, cd into the pear
subdirectory, 'vi -c ":57" Makefile' and change the line as shown below:
55: for i in PEAR.php; do \
56: dir=echo $$i|sed 's%[^/][^/]*$$%%'; \
57: $(INSTALL_DATA) $$i $(peardir); \
58: done; \
(ie, take out "$(builddir)/" and "/$$dir")
Save and quit, and run "make install" from within the pear directory.