#20527: PHP 5 not loading extensions properly ----------------------------------+----------------------------------------- Reporter: tobias@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: php5, mcrypt | Port: php5 ----------------------------------+----------------------------------------- Comment(by tobias@…): Back again. After rebuilding PHP 5 a few times, I finally found the solution: You must not build Apache 2 using the workermpm variant. Here's my approach: 1) sudo port -f uninstall apache 2 (uninstall apache2+workermpm) 2) sudo port install apache2 (install Apache 2 with +workermpm disabled in /opt/local/etc/macports/variants.conf) 3) sudo port -fn upgrade php5 4) sudo port -fn upgrade php5-mcrypt For some reason, port -fn upgrade apache2 ignored that I already unset workermpm in my variants.conf and still built apache2 with the workermpm variant, so I had to to apply the two steps described in 1) and 2). -Tobias -- Ticket URL: <http://trac.macports.org/ticket/20527#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS