Opened 18 years ago

Closed 17 years ago

Last modified 16 years ago

#10793 closed defect (worksforme)

BUG: PHP5-5.1.6 /w variants +apache2 +mysql4 - Apache2 cannot load libphp5.so

Reported by: ian.w.white@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.3.2
Keywords: php5 apache2 Cc: ryandesign (Ryan Carsten Schmidt), markd@…, ian.w.white@…
Port:

Description

Fresh install of macports 1.3.2 on OS X 10.4.7

When I restart apache after installing php5 +apache2 +mysql4 I get:

httpd: Syntax error on line 110 of /opt/local/apache2/conf/httpd.conf: Cannot load /opt/local/apache2/modules/libphp5.so into server: Symbol not found: _ap_unblock_alarms\n  Referenced from: /opt/local/apache2/modules/libphp5.so\n  Expected in: /opt/local/apache2/bin/httpd\n

Change History (8)

comment:1 Changed 18 years ago by markd@…

Summary: libphp5.so fails to load (+apache2 +mysql4)BUG: PHP5-5.1.6 /w variants +apache2 +mysql4 - Apache2 cannot load libphp5.so

comment:2 Changed 18 years ago by markd@…

Cc: ryandesign@… added
Component: baseports
Owner: changed from darwinports-bugs@… to ryandesign@…
Priority: BlockerExpected

comment:3 Changed 18 years ago by markd@…

Cc: markd@… added

From the mailing list: The apple_auth_module must be loaded *after* the php5 module.

Can a ui_msg communicate this?

comment:4 Changed 18 years ago by ryandesign (Ryan Carsten Schmidt)

A Google search for this error message turned up this post on entropy.ch from Marc Liyanage, who knows a thing or two about compiling PHP on Mac OS X:

http://www.entropy.ch/phpbb2/viewtopic.php?t=2327#8677

"I researched this symbol a bit and it turns out that it is in Apache 1.3, not 2.0."

Could it be that you used the "+apache" variant, not the "+apache2" variant, then tried to load the module into Apache 2 anyway? If so, go back and recompile it properly with the "+apache2" variant. If that's not it, please let us know.

comment:5 Changed 18 years ago by pipping@…

Milestone: Port Bugs

comment:6 Changed 18 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ian.w.white@… added

Need feedback from reporter to learn what solution of those suggested in this ticket, if any, fixed the problem. Adding reporter to CC list.

comment:7 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: newclosed

Since I didn't hear back from the reporter I'll close the ticket. If this is still an issue, please reopen the bug, or if Trac won't let you, email me and I'll do it.

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.