Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Compile Phalcon for different php directory


I tried compiling and installing phalcon from GitHub. I use a Mac with Mountain Lion and the Application MAMP. So my PHP Folder is not the default PHP Folder. So the is compiled and copied to the wrong directory.

I moved it to the correct directory, but now I got the error:

[25-May-2013 00:02:06 Europe/Berlin] PHP Warning: PHP Startup: phalcon: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match in Unknown on line 0

Can someone give me a hint what I'm doing wrong?

regards, philwilba


Hi, it seems that is very hard compile an extension for MAMP, check this:

You are awesome :) Not i'm able to load it. Thank you very much!


Do you also have an idea what to change in the devtools? Just got the notice to install the phalcon extension.

regards, philwilba


Ok got it - Sorry for disturbing.

I just changed the php call in the to the correct php.