phpsymfonyinstallationsymfony-2.5

Cannot get Symfony to work?


This is my first time using Symfony framework. I have installed the framework using Composer. It has installed properly. It didn't give me any errors or even a warning. Then I generated a bundle.

Then I ran the server using php app/console server:run. The terminal showed me the server was running on 127.0.0.1:8000. But when I write 127.0.0.1:8000 it doesn't show me anything, the browser just keeps loading.


Solution

  • you can try: php app/check.php

    and remember, you need to give permissions in app/cache and app/logs folders (chmod 777 app/cache app/logs, but this way isn't the correct form in production)

    in your app_dev.php put the develop environment to true and in your app.php put the production environment to false