php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1149 dynamically loaded module (calendar.so) problem
Submitted: 1999-02-15 05:01 UTC Modified: 1999-05-12 08:00 UTC
From: mark at toggle dot net Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.6 OS: Linux Redhat 5.2
Private report: No CVE-ID: None
 [1999-02-15 05:01 UTC] mark at toggle dot net
PHP produces "Document contains no data" error on page with:

dl("calendar.so");

and a call to jddayofweek();

Calendar shows up correctly as an extension from phpinfo(); and the extension_dir value is correctly shown from phpinfo().

./configure --with-apache=../apache_1.3.4 --with-mysql=/usr/local/mysql --with-imap --enable-sysvshm=yes --enable-sysvs
em=yes --with-config-file-path=/usr/local/apache/conf --enable-track-vars=yes

error in Apache log:

/usr/local/apache/bin/httpd: error in loading shared libraries
/usr/local/apache/libexec/calendar.so: undefined symbol: getParameters

calendar.so was compiled as per the instructions in the /dl/ source directory, and the extra flags were added to the PHP and Apache source as per the instructions.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-12 08:00 UTC] rasmus at cvs dot php dot net
Solved by compiling Apache using -rdynamic
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 22:01:29 2024 UTC