I have so much problems with deploying Symfony2 project to server, with searching and help of some links like Steps to move Symfony 2 project to hosting I finally did something! the problem is when I go to mydomain.com/web/app.php it shows blank page! and when I go to mydomain.com/web/app_dev.php it throws this exception:
ContextErrorException: Warning: is_file(): open_basedir restriction in effect. File(/var/www/Symfony/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventSubscriberInterface.php) is not within the allowed path(s): (/var/www/vhosts/mydomain.com/httpdocs/:/tmp/) in /var/www/vhosts/mydomain.com/httpdocs/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php line 80
The project works completely right on my local machine. Please help me with some advice, thanks.
/var/www/Symfonyin your hosted machine? are your symfony files in this directory or in/var/www/vhosts/mydomain.com/httpdocs/? - Onema