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

Hello!

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 phalcon.so 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



85.4k

Hi, it seems that is very hard compile an extension for MAMP, check this: http://forum.phalconphp.com/discussion/235/mac-os-x-10-7-5#C959

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

Hello!

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

regards, philwilba



538
Accepted
answer

Ok got it - Sorry for disturbing.

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