1

I compiled Phalcon using the instructions on the site, added extension = phalcon.so to the end of my php.ini file. I restarted the server but when I run print_r(get_loaded_extensions());

Phalcon isn't there.

I'm using nginx on Ubuntu, if that matters.

1 Answer 1

1

Have you enabled the extension in your php.ini configuration?

extension = /usr/lib/php5/20090626/phalcon.so

That is I believe the path of where the extension will be compiled in a Ubuntu box.

Restart the server after that or in your case php_fpm :)

2
  • Thanks that worked. How did you know it would be compiled there?
    – user1587033
    Sep 22, 2012 at 22:41
  • The key is that you are using Ubuntu which I am too. You can always see the path of where the extension is installed at the output of the compilation process. I believe it is when issuing sudo make install
    – Nikolaos Dimopoulos
    Sep 22, 2012 at 23:04

You must log in to answer this question.