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

Installing on CentOS 6.5 but i have no /etc/php.d?

I have followed the installation however right at the end I notice that I have no /etc/php.d in which to create a phalcon.ini file - I am using CentOS 6.5, can anyone advise please?

If you don’t have an /etc/php.d/ directory, you can add phalcon configuration settings to your existing php.ini file, which is usually located at /etc/php.ini or create it.

did you compile php from source?

I've edited that line in the docs because all the rpm versions (base, remi, webtatic) provide an /etc/php.d folder, i guess i'll have to add instructions for those like you (btw, i always recommend installing from a rpm so you can use a version that's been tested and can be easily updated)



4.5k

Well, it really depends on how you install php. You can safely load phalcon by adding the following line to your php configuration (on centOS, and rhel, it usually /etc/php.ini): extension=phalcon.so