We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon devtools on MAMP

Hi to all,

I am a beginner in using phalcon and I would use the devtools. I installed phalcon 3.0.0 on MAMP using: https://github.com/majksner/php-phalcon-mamp (my MAMP installation use php 5.6.10)

Now i've get a copy of phalcon devtools using git clone git://github.com/phalcon/phalcon-devtools.git

but when i type the command: . ./phalcon.sh i get this error message [3] 4726 illegal hardware instruction

Any suggestion about it? Thank you

Luca



9.5k

Hi Luca,

It seems to me that the command you showed is not a correct one. What are you trying to achieve? What was done so far?

Thanks.

Hello, i'll try to explain better: i installed phalcon on MAMP using https://github.com/majksner/php-phalcon-mamp and it works fine (from phpinfo() i can see the phalcon reference loaded )

After that i would install devtools, so i get it from https://github.com/phalcon/phalcon-devtools following the instructions on https://docs.phalcon.io/en/latest/reference/mactools.html

but after creating the symbolic link

ln -s /applications/mamp/bin/phalcon-devtools/phalcon.php /applications/mamp/bin/phalcon-devtools/phalcon

chmod +x /applications/mamp/bin/phalcon-devtools/phalcon

and typing the command

phalcon

i get this message error

6872 illegal hardware instruction phalcon

Any idea about what i'm doing wrong? Thank you.

Hi Luca,

It seems to me that the command you showed is not a correct one. What are you trying to achieve? What was done so far?

Thanks.



9.5k
edited Oct '16

Hi,

I used the download from their site, but I think there should not be a major issue (or any issue at all) with using dev tools at all. Here's a quick question though. On the console, is the PHP being referenced there points to the MAMP installation you have or is it pointing to the native PHP of Mac?

Thanks,

Hello,

Typing

Which php

i get

/Applications/MAMP/bin/php/php5.6.10/bin/php

The last thing i could try is to update my MAMP version. (i'm using 3.5 version)

Thank you

Hi,

I used the download from their site, but I think there should not be a major issue (or any issue at all) with using dev tools at all. Here's a quick question though. On the console, is the PHP being referenced there points to the MAMP installation you have or is it pointing to the native PHP of Mac?

Thanks,