[MacPorts] #20527: PHP 5 not loading extensions properly

MacPorts noreply at macports.org
Sun Aug 2 15:31:28 PDT 2009


#20527: PHP 5 not loading extensions properly
----------------------------------+-----------------------------------------
 Reporter:  tobias@…              |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.7.1                                
 Keywords:  php5, mcrypt          |        Port:  php5                                 
----------------------------------+-----------------------------------------
 Hello,

 I just did a fresh install of PHP 5.3 and php5-mcrypt. However, PHP
 refrains from loading the extension. Here's the output of php -v:

 PHP Warning:  PHP Startup: mcrypt: Unable to initialize module
 Module compiled with build ID=API20090626,NTS
 PHP    compiled with build ID=API20090626,TS
 These options need to match
  in Unknown on line 0

 Variant used for PHP5: +mysql5

 If somebody can point me to the right direction, I'd greatly appreciate
 it!

 I addition, it'd be nice if the variants found in the php5 port could be
 distinguished from the ones found in the php5 extension ports. For
 example, the php5 port includes the same mysql variants as the php5-mysql
 extension port. My understanding is that you can have built-in MySQL
 support (e.g., mysql5 variant in php5 port), or have MySQL support as an
 extension (mysql5 variant in php5-mysql port). Still, it's a bit
 confusing, but it's only my 2 cents.

 Thanks,
 Tobias

-- 
Ticket URL: <http://trac.macports.org/ticket/20527>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list