I recently bought a new MacBook and I'm trying to configure it for PHP development.
The operating system is OSX 10.8 Mountain Lion, and I'm using the builtin Apache2 and PHP 5.3.13 stack.
I needed to install some extensions: mcrypt and intl. Both were re-compiled by me (from the source, either from PECL or from the tarball of PHP 5.3.13, using "phpize" then "./configure" and so on) and were installed and activated perfectly.
I'm having issues with the gettext extension. I'm trying to use the one included in PHP 5.3.13 tarball, and I can compile it and install it. The extension is loaded successfully by the interpreter but... It does not work! In fact, when I call for example the bindtextdomain function, I get a PHP error saying it doesn't exist.
Additionally, "make test" return some errors.
The dependency (the gettext library) was installed using MacPorts (version: 0.18.1.1, Revision 2).
Any hint? Thank you.