I developed symfony2 project on NetBeans 8.0.2 and XAMMP the project works fine on my windows PC ,so I upload all my project files to ubuntu server and execute the commands
chmod -R 777 app/logs
chmod -R 777 app/cache
then
php composer.phar install --no-dev --optimize-autoloader
php app/console cache:clear --env=prod --no-debug
php app/console assetic:dump --env=prod --no-debug
i ran (php app/check.php) and its say your system is ready to run symfony project.
then T access http://example.com/myproject/web/config.php and it says:
Your configuration looks good to run Symfony.
but when I open: http://example.com/myproject/web/app.php its give me no response with
500 Internal Server Error.
and thanks in advance..
app/logs/...and server error logs, then copy-paste the error message here. You should also tryhttp://example.com/myproject/web/app_dev.phpto use thedevenvironment. - A.Lchmod -R 777 app/logs app/cachecommand? - A.Lphp app/console cache:warmup --env=prod --no-debugafter... cache:clear .... - A.L