I am running UnixWare7 v7.1.1, Apache 1.3.14 and trying to add PHP
4.0.4pl1. A static build using the following options works great:
Apache:
./configure --prefix=/usr/local/apache \
--activate-module=src/modules/php4/libphp4.a
PHP:
./configure --with-apache=../../apache/apache_1.3.14 \
--with-oci8=/orahome --without-mysql \
--enable-track-vars
However, I need to be able to also use servlets, so I need to run with
shared library support. Compiling Apache with the following options
works correctly:
./configure --prefix=/usr/local/apache --enable-shared=max \
Compiling PHP with the following options gives no errors anywhere in the
process and builds libphp4.so:
./configure --with-apxs=/usr/local/apache/bin/apxs \
--with-config-file-path=/usr/local/apache/conf \
--enable-track-vars --without-mysql \
However, when I restart Apache, I get the following error:
Syntax error on line 224 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: dynamic
linker:
/usr/local/apache/bin/httpd: relocation error: symbol not found:
php_startup_extensions;
referenced from: /usr/local/apache/libexec/libphp4.so
./apachectl start: httpd could not be started
php_startup_extensions is in main.c. If I do some strange things, such
as including all of main.c in internal_functions.c, functions from
main.c resolve, but I get errors from other functions in php../main. It
appears that internal_functions.c is the only source file being used
from php../main. All of the lo files (ex. main.lo) that are referenced
in the compile for internal_functions.c are 0 length.
Any suggestions would be appreciated!
Bill Cheek
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]