Hi,

I used to have this child pid XXXX exit signal Illegal instruction (4) error when I use different Phalcon function, for example model->save() and query->execute(). One thing different is that the previous times I could sort of "fix" them by using the safe build: https://forum.phalconphp.com/discussion/1540/problems-with-aws-beanstalk-and-phalcon, however this time even the safe build could not fix the error. This is the first time I see this error since I quit using AWS, and before I did yum update recently it was working.

possible cause/solutions: 1. I read an article suggesting downgrading curl, is it safe to do so? 2. In my PHQL, seem like if the query is "complicated", than the error will happen. Say if I am doing only SELECT * FROM table, it works.

FYI, my setup is CentOS 7, PHP is 5.4.16, Phalcon 2.0.8, curl 7.29.0.

Any hints will be appreciated, thanks in advance


related articles:


update, problem solved

instead of the lines below:

cd cphalcon/build/safe
export CFLAGS="-O2 -fvisibility=hidden"
phpize
./configure --enable-phalcon
make
sudo make install

I did

cd cphalcon/build
sudo ./install safe

and now everything seems working again.