We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

question about cphalcon extension

Hi loading Phalcon. Followed directions here: https://docs.phalcon.io/en/latest/reference/install.html

Got to the add extiension to php file, the instructions say: "#Ubuntu/Debian: Add a file called 30-phalcon.ini in /etc/php.d/ with this content: extension=phalcon.so"

No php.d directory exist on my system, I do have a php5 directory, but I'm so new to linux that I'm not sure if this corrisponds to anything.

Any suggestions for getting the extention loaded? Thanks

edited Apr '14

hi @mgpmgp

Are you on ubuntu? If yes, and you installed php5-dev... as in the doc, the directory is conf.d located in php5 instead of php.d. Create the phalcon.ini:

sudo nano /etc/php5/conf.d/phalcon.ini

and add phalcon extension to your php configuration:

extension=phalcon.so

reload your apache:

sudo /etc/init.d/apache2 restart

and phalcon should be loaded.