Answer the question
In order to leave comments, you need to log in
Why is phalcon not installed?
Trying to install phalcon on vds (ubuntu 14.04). I do everything according to the instructions
curl -s https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh | sudo bash
sudo apt-get install php5-phalcon
2018/02/12 21:58:23 [error] 7431#0: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error: Class 'Phalcon\Loader' not found in /var/www/phalcon/public/index.php on line 15" while reading response header from upstream, client: 178.215.82.22, server: 185.146.157.117, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "*******"
Answer the question
In order to leave comments, you need to log in
ini for the server and for the console are different. Just add an extension to the server environment and everything will work.
1) In the console, just look at the paths to the extensions, they are something like this: /etc/php/7.2/...
2) There are several folders, one of them is cli - these are console configs
3) Move (copy) the link to the falcon to another with a web environment (I don’t remember exactly what it’s called, but it will be clear by name there).
`sudo service php-fpm restart` and that's it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question