Changes between Initial Version and Version 2 of Ticket #20527


Ignore:
Timestamp:
Aug 3, 2009, 1:23:52 AM (15 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Replying to tobias@…:

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!

"NTS" means "not thread safe"; "TS" means "thread safe". Did something change about your php or apache between the time that you installed php5 and the time that you installed php5-mcrypt? Maybe try rebuilding php5 (sudo port -nf upgrade php5); see if PHP is then "NTS" as well.

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.

The variants are being moved from the php5 port into separate ports. There are many variants so it is taking some time to do, and as you've discovered, I am in the middle of this transition. The variants will be removed from the php5 port as soon as the separate ports are working correctly. (The php5-mysql port, for example, is not working the way I want.)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20527

    • Property Cc jwa@… added
    • Property Owner changed from macports-tickets@… to ryandesign@…
  • Ticket #20527 – Description

    initial v2  
    33I 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:
    44
     5{{{
    56PHP Warning:  PHP Startup: mcrypt: Unable to initialize module
    67Module compiled with build ID=API20090626,NTS
     
    89These options need to match
    910 in Unknown on line 0
     11}}}
    1012
    1113Variant used for PHP5: +mysql5