Class 'Phalcon\Config' not found

I am trying to set up phalcon in an ubuntu 14.04 in my company. I have did this succssfully in my laptop and two other PCs Please help??



8.0k
edited Feb '16

Did you try to echo phalcon version and the result is right ?

https://docs.phalconphp.com/en/latest/api/Phalcon%5Version.html

if your result ok then you should check your application skeleton you can see example here

https://github.com/phalcon/mvc

edited Feb '16

Can you please proveide output of the command:

php --ri phalcon
edited Feb '16

I think the error is with my server ?? Any help.....

php --ri phalcon Shows the following errors

Failed loading ./opcache.so: ./opcache.so: cannot open shared object file: No such file or directory PHP Warning: PHP Startup: Unable to load dynamic library './phalcon.so' - ./phalcon.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './phalcon.so' - ./phalcon.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './json.so' - ./json.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './phalcon.so' - ./phalcon.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './pdo.so' - ./pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './gd.so' - ./gd.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './json.so' - ./json.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './mcrypt.so' - ./mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './mysql.so' - ./mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './mysqli.so' - ./mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './pdomysql.so' - ./pdomysql.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library './readline.so' - ./readline.so: cannot open shared object file: No such file or directory in Unknown on line 0 Extension 'phalcon' not present.