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 extension isn't being loaded

had to compile Phalcon myself because the Debian repository was discontinued, so, after compiling and changing php.ini i proceeded to this tutorial: https://docs.phalcon.io/en/latest/reference/tutorial.html

When i run print_r(get_loaded_extensions()); Phalcon isn't listed...

After that i decided to proceed to see if i get any errors, i followed the tutorial until the IndexController part, no errors appear but the controller isn't being shown.

OBS: using Apache2



58.4k

Are you sure install Phalcon success, to verify that just running the command below

php --ri phalcon
edited Oct '15

try adding the complete path to phalcon.so in php.ini and in /etc/php5/apache2/conf.d/30-phalcon.ini restart apache and it should work