Bug 69088

Summary: mod_php4/5 does not work with gmp support
Product: Ports & Packages Reporter: Peter Czanik <pczanik>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Peter Czanik 2004-07-15 10:00:43 UTC
When I compile lang/php4 or lang/php5 with GMP support enabled, the resulting apache module does not work. When apache is started, the following message is showed:

maple# /usr/local/etc/rc.d/apache.sh start
Starting apache.
Syntax error on line 243 of /usr/local/etc/apache/httpd.conf:
Cannot load /usr/local/libexec/apache/libphp5.so into server: /usr/local/libexec/apache/libphp5.so: Undefined symbol "__gmpz_cdiv_qr_ui"

mod_php4/5 works fine, if gmp is not enabled.

The CLI version does not seem to be affected (at least it starts).

Seems, that I'm not the only one having this problem:
http://forums.devshed.com/t154008/s.html
http://www.livejournal.com/community/php/161367.html

How-To-Repeat: Compile mod_php4/5 with gmp enabled. Apache won't start due to errors in mod_php4/5.
Comment 1 Volker Stolz freebsd_committer freebsd_triage 2004-07-15 15:08:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer
Comment 2 Peter Czanik 2004-07-15 18:38:18 UTC
cvsup-ing another today and trying php4-4.3.8 did not solve the problem.
Peter
Comment 3 Alex Dupre freebsd_committer freebsd_triage 2004-07-20 22:40:30 UTC
State Changed
From-To: open->closed

Submitter confirmed it was fixed by the PHP mega-commit.