简体   繁体   中英

Fresh project symfony 3 - error 500

I install Symfony 3 on remote server - Ubuntu (not localhost, VPS), but when I visit in browser myexampleproject.com/project/web/app.php display white page. I checked in console firebug, there is HTTP error 500. I add chmod resursive 777 to logs and cache. I deleted cache.

Hmm. When I run command in putty to open address http://localhost:8000 with lynx, there is okey, symfony is runned correct.

So. How open and run symfony with browser? I tryied php bin/console server:start myexampleproject.com and in response is:

Remove the app.php from your URL:

myexampleproject.com/project/web/

Also, you should use the folder path "../projectweb" as part of DocumentRoot (if you are using Apache) instead; then you would instead use:

myexampleproject.com/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM