Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Tuto "Tutorial - basic" : see index.php source code in my browser

My problem : on my browser (http://localhost/tuto/), no "Hello !", or something like that, but part of the index.php source code. I also tried with a new project ("phalcon project proj-name") : same problem.

It's my first try, so I don't know if it's an install problem or another problem. Install was not easy (Ubuntu 16.04, Apache 2.4.18, PHP 7.0, Phalcon DevTools 3.2.8, cphalcon 3.2.4). Known trouble with php 7, as I read.

I tried "print_r(get_loaded_extensions());" and "php phpinfo();". Seems to be OK.

Thank's for any help !

Hi @Mirmaou do you have "tuto" folder in localhost? if you try with a simple text file it's found?


Hi Emilio Yes, my folder is named "tuto" and is seen by my browser. I can see a html file in my "apache directory", /var/www, in my case.



I tried Tosyn's solution, works fine : (Phalcon's install on Ubuntu 16.04) Thank's