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

Can not install phalcon from compile

  • My env info is
    • Fedora 28
    • PHP 7.1.17
    • Apache
    • Mysql 5.6
  • i followed steps here
  • i did
  • i got this output

    Libraries have been installed in: /home/amr/cphalcon/build/php7/64bits/modules Build complete. Don't forget to run 'make test'. Installing shared extensions: /usr/lib64/php/modules/ Installing header files: /usr/include/php/

  • Then added phalcon.ini in /etc/php.d with extension=phalcon.so in it.
  • But when i did phpinfi() Phalcon extension is not there but it exists when i do php -m or php -r 'print_r(get_loaded_extensions());'
  • Also i tried using yum but did not work it said php71u-phalcon has no match.

Please, Can any one help me get phalcon 3 installed on fedora ?


service apache2 restart ?

other reason would be you have more than 1 php isntalled on your machine, and apache is using the other installation.

$ which php
$ which phpize
$ which php-config

all 3 of those must point to php executables that apache2 is using



But when i did phpinfi() Phalcon extension is not there but it exists when i do php -m or php -r

so phalcon installation is OK, because you can see the extension using the command line php -m

I'm not a Fedora user, but on some other linux distributions, there are two distinct configuration for php:

  • /etc/php/7.0/apache2/conf.d/ (for apache)
  • /etc/php/7.0/cli/conf.d/ (for command line)

@izo They were in /user/bin the three of them @le51 i have only one configuration in /etc/httpd/conf/httpd.conf

It is resolved i did nothing except restarting the machine i know this is so weired but that what happened Thanks guys

Restarting the machine restarted Apache. Restarting Apache causes it to reload it's configuration and load any new modules added.

@quasipickle i did restarted Apache systemctl restart httpd.service each time i do any change but i don't know why this did not have effect


ah ! the strange behavior of computers !!!

good to know that you're now able to play with phalcon. You can mark your post as solved too !