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 1.3.0 + nginx + php5-fpm problem

Hi all, I have problem with phalcon 1.3.0 + nginx + php5-fpm on debian 32/64, centos 32/64 with https://github.com/mruz/base-app: For connection nginx + php5-fpm i using socket but also I tried connection via port with this same error. The problem occurs when the user login, the system will not remember it and nginx displays this error.

Php5-fpm error log: https://pastebin.com/m1R6qGxN Nginx access log: https://pastebin.com/r8WXCFaG Nginx error log: https://pastebin.com/avNNWxWG Nginx vhost config: https://pastebin.com/N9LFdY4a



98.9k

Could you try again compiling from the 1.3.1 branch?

git clone https://github.com/phalcon/cphalcon
cd cphalcon/build
git checkout 1.3.1
sudo ./install


1.1k
edited Mar '14

I compiled again but the error continues to be the same :/

maybe I should try version 2.0?



98.9k

Can you check which line of the code is causing the problem?



1.1k
edited Mar '14

How to check this? Me discussion with Mruz about this problem is here: https://github.com/mruz/base-app/issues/14



1.1k

I was solved the problem lol its so easy: /etc/php5/fpm/conf.d/30-phalcon.ini with extension=phalcon.so. Phalcon must be loaded latest o.O