Not work handle() in tutorial

Hi. I have some problems with tutorial My server: CentOS 6.8(Final) PHP 7.0.9 httpd 2.2.15 Phalcon 3.0 and 2 Gb RAM

I have error on this line code $response = $application->handle(); and get ERR EMPTY RESPONSE in my browser. which is not so in the example??

I do not make changes to the code of the example!


Check php logs then, you didn't post content of error too :)

Ok, clone simple mvc template, replace my files and restart. I get HTTP ERROR 500, log have errors: Uncaught Error: Class 'DI' not found =( ok, connect DI. Restart. Now i have Uncaught Error: Class 'Application' not found =( ok, connect Application class. Restart. Get ERR EMPT RESPONSE

edited Aug '16

What you mean connect DI connect Application etc ? And you have no log error ? Waht about just echo $application->handle()->getContent(); ?


do you see phalcon in phpinfo btw ?

or perhaps an \ ?

$application = new \ Phalcon\Mvc\Application($di);