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

Is it possible to install Phalcon on Amazon Linux (ec2) ?

Hello.

I am using AMI server with php 7.0 and Marida DB.

I followed installation document which below :

https://docs.phalcon.io/3.4/en/installation (RPM based distributions)

  • adding stable repository. (OK)
  • yum update (OK)
  • yum install php70u-phalcon (FAIL)
sudo yum search phalcon
Loaded plugins: update-motd, upgrade-helper
Warning: No matches found for: phalcon
No matches found

I cound not find any phalcon packages. yum search command is working well with other keywords (i.e php or zzip etc)

What am i missing?

I wouldn't know about Amazon package infrastructure, but you can always compile Phalcon from source:

https://docs.phalcon.io/3.4/en/installation#compile-from-sources

What OS are you using on the EC2? If you're using Debian or Ubuntu you can try installing from https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh and then running apt-get install -y php7.0-phalcon. However if it's amazin linux, I'm sure they have a package you can use on that OS.