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.

Phalcon not load on Nginx Ubuntu 14.04 64 Bit

Hi Phalconese / Phalconian...

I have problem when installing Phalcon on Nginx Ubuntu 14.04 64 Bit.

I have try official documen, and

But still no luck.

My PHP Info: PHP Version 5.5.9-1ubuntu4.7 System Linux host 2.6.32-042stab104.1 #1 SMP Thu Jan 29 12:58:41 MSK 2015 x86_64 Build Date Mar 16 2015 20:45:55 Server API FPM/FastCGI Virtual Directory Support disabled Configuration File (php.ini) Path /etc/php5/fpm Loaded Configuration File /etc/php5/fpm/php.ini Scan this dir for additional .ini files /etc/php5/fpm/conf.d

Do i need to reinstall others PHP version? Thanks

You need put phalcon.ini file in /etc/php5/fpm/conf.d .

edited Apr '15

you must add complete path to your to /etc/php5/fpm/php.ini and /etc/php5/fpm/conf.d/30-phalcon.ini and then restart fpm+nginx. We put it in 30-phalcon.ini to be loaded before other extensions. Also the extension must be compiled for your php version and linux version.

You could use the ppa and no longer need to set anything, just do a nginx+fpm restart. (php 5.5+ubuntu 14.04(x86_64))

to make sure that it works for your machine is better to compile it from source


My server is identical with your, and I followed this

sudo apt-add-repository ppa:phalcon/stable

sudo apt-get update

sudo apt-get install php5-phalcon

Everything is fine, no need to add phalcon.ini file in /etc/php5/fpm/conf.d

And make sure to check your php-fpm installation, I followed this link

Finally it work!.

Thanks all