Re: Apache DL_UNLOAD error, with PHP 4.0.3

From: Date: Mon, 18 Dec 2000 10:10:58 +0000
Subject: Re: Apache DL_UNLOAD error, with PHP 4.0.3
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-1248@lists.php.net to get a copy of this message
Hi Greg, This problem is fixed in the CVS. You can download at http://snaps.php.net Or.... Alter ./Zend/zend_extensions.c at around line 142 to the following below. The #if ZEND... and #endif lines which are missing are what is causing the trouble. static void zend_extension_startup(zend_extension *extension) { #if ZEND_EXTENSIONS_SUPPORT if (extension->startup) { if (extension->startup(extension)!=SUCCESS) { DL_UNLOAD(extension->handle); } } #endif } Regards, - Paul - ----- Original Message ----- From: "Greg Militello" <gmilitello@dyrectmedia.com> To: <php-install@lists.php.net> Sent: Friday, December 15, 2000 4:41 PM Subject: [PHP-INST] Apache DL_UNLOAD error, with PHP 4.0.3 I have been trying to get php to do a lot for me, on one box... perhaps to much, but here is my config: ./buildconf ./configure --with-mysql=/usr/local/mysql \ --with-apxs=/usr/local/apache/bin/apxs \ --with-sablot=/usr/local \ --with-dom=/usr/local/lib/libxml/lib \ --with-xml \ --enable-calendar \ --with-gd \ --with-pdflib=/home/chris/tmp/pdflib-3.02/pdflib \ --enable-track-vars \ --with-zlib-dir=/usr \ --with-ttf=/usr/local/include \ --with-jpeg-dir=/usr \ --with-tiff-dir=/usr \ --with-fdftk=/usr/lib/C \ --enable-ftp \ --with-openssl=/usr/local/ssl \ --with-swf=/usr/local/swf \ --enable-sablot-errors-descriptive \ --enable-wddx make make install cp php.ini-dist /usr/local/lib/php.ini once I get this compiled (which works smoothly, after I edit etc/sablot/config.m4 for sablotron) I try to restart apache, and get this error from apacheclt startssl: /usr/local/apache/bin/apachectl startssl Syntax error on line 209 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/libexec/libphp4.so into server: /usr/local/apache/libexec/libphp4.so: undefined symbol: DL_UNLOAD /usr/local/apache/bin/apachectl startssl: httpd could not be started This error only happens when I use the --with-dom option. Is DOM conflicting with something else I installed in PHP? or do I need to install something else to handle the DL_UNLOAD thing? thanks a lot for any help guys, ----- Greg Militello Web Development Dyrect Media Group http://www.dyrectmedia.com (716) 504-1141

« previous php.install (#1248) next »