-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install Phalcon with MAMP #13
Comments
PECL is installed with the MAMP version so the following incantation should be close to universal: Install against MAMP php with pecl
CaveatsDue to the limitations of an unpaid MAMP we will have to manually edit the php.ini as well via CLI This comes with some caveats as some options in the interface interfere with what php ini the binary has access to. WarningIf the option Register extensions by handAs stated above the non paid version of MAMP will show you the php.ini if you click the -> next to the version but will not save it. So we need to do this by hand. If you don't have a preference of text editor$ Otherwise just edit this file using whatever you like
The order of extensions usually matters so search this file for extension=imap.so
extension=gettext.so
extension=pgsql.so
extension=pdo_pgsql.so Phalcon requires PDO so the safest way to register the phalcon and psr extensions installed by PECL is to add them to the bottom of the list of extensions eg. extension=imap.so
extension=gettext.so
extension=pgsql.so
extension=pdo_pgsql.so
extension=psr.so
extension=phalcon.so Warninglines that start with |
After your last update I successfully intsalled with brew
`==> psr@74
After that; I checked active Mamp PHP version with linking ` [phalcon] |
Reopened because this looks like another use case where #8 matters |
MAMP contains its own packaged PHP so we need to add the extension to this context in order for MAMP to have access.
The text was updated successfully, but these errors were encountered: