It's been a long hard road, with many interruptions, to my apache/mysql/php goal, but I can't let this one defeat me. When I apachectl start, I get:
httpd: Syntax error on line 53 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/libphp5.so into server: /usr/local/apache/modules/libphp5.so: undefined symbol: php_stream_context_get_option
Here's line 53:
LoadModule php5_module modules/libphp5.so
(If this is an apache problem, I apologize)
Here's my apache configure:
./configure \
--prefix=/usr/local/apache \
--enable-so \
--enable-cgi \
--enable-ingo \
--enable-rewrite \
--enable-speling \
--enable-usertrack \
--enable-deflate \
--enable-ssl \
--enable-mime-magic
And here's my php configure:
./configure \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-mysql=/var/lib/mysql \
--with-mysqli-dir=/usr/bin/mysql_config \
--prefix=/usr/local/apache/php \
--with-config-file-path=/usr/local/apache/php \
--enable-force-cgi-redirect \
--disable-cgi \
--with-zlib \
--with-gettext \
--with-gdbm \
--with-openssl \
--with-xml \
--with-dom
And here's the result of make test for php:
[code]
FAILED TEST SUMMARY
Bug #37514 (strtotime doesn't assume year correctly). [ext/date/tests/bug37514.phpt]
date OO cloning [ext/date/tests/oo_002.phpt]
Bug #16069 [ext/iconv/tests/bug16069.phpt]
iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt]
mysql_fetch_array [ext/mysql/tests/002.phpt]
mysql_fetch_object [ext/mysql/tests/003.phpt]
[/code]