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

error install phalcon ubuntu 14.04

i tray to install phalcon.. my OS is ubuntu . i copy this

curl -s https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh | sudo bash

to my terminal, but i get some error like this.

Detected operating system as Ubuntu/trusty. Checking for curl... Detected curl... Running apt-get update... done. Installing apt-transport-https... done. Installing /etc/apt/sources.list.d/phalcon_nightly.list...curl: (7) Failed to connect to packagecloud.io port 443: Network is unreachable

Unable to run: curl https://packagecloud.io/install/repositories/phalcon/nightly/config_file.list?os=Ubuntu&dist=trusty&source=script

Double check your curl installation and try again.

What should I do..? thanks



7.5k

This is possibly (probably) a network problem. Check https://curl.haxx.se/docs/manpage.html and turn on verbose or trace options and see what it says when you try to connect to the URL. If everything behaves, it looks like it balks about 'incorrect username or api token', so I assume there are some header things being set in the script. Is there a filter/firewall/http proxy on the network that the machine is on?