PhalconException: IndexController handler class cannot be loaded


So I’ve been having a few issues with Phalcon on my ubuntu 14.04 x32 apache2 droplet. However I did finally get it installed, I now assume there is some settings either the .conf or .htaccess thats messing this up, i’m just a bit tired of not getting anywhere.

Its working perfectly fine on my local mamp apache2 server and all the configs are good to go on that end. And I can’t really find anything that’s helpful online, or at least I haven’t found the right place yet.

The different files:


<pre> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> </pre> 000-default.conf: .htaccess:

Any help would be appreciated!

  • Fredrik.
Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

It’s likely you’re not loading the module in php. You need to an ini file that loads the phalcon extension.

Create a file called /etc/php5/conf.d/phalcon.ini and this single line in the file extension = “

Make sure to restart apache. You can also check loaded modules via “php -m” command

Could you post the contents of your “public/index.php” ? I suspect that you need to replace this line: <pre> $url->setBaseUri(‘/project_name/’); </pre> with: <pre> $url->setBaseUri(‘/test/’); </pre> That assumes that your project is in /var/www/test