This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Not able to enter in php website after vagrant set up

Discuss installing Symfony 2 here

Not able to enter in php website after vagrant set up

by ghanshyam » Mon Apr 07, 2014 12:34 pm

Hello every one,

I am new to run symfony project using vagrant.

I have asked a http://stackoverflow.com/questions/22909098/unable-to-create-the-cache-directory-vagrant-app-cache-dev question on stack overflow.

Basically I have created a virtual host that runs my website from default port and port 4567.

Setting for enabling port 4567 I have given in vagrantfile.

Code: Select all
config.vm.network :forwarded_port, host: 4567, guest: 80


However I have specified full content of this file on stackoverflow, you can have look
Code: Select all
http://stackoverflow.com/questions/22909098/unable-to-create-the-cache-directory-vagrant-app-cache-dev


Hitting url
Code: Select all
admin.testmyltd.com/app_dev.php
throws a run time exception

Code: Select all
Failed to write cache file "/vagrant/app/cache/dev/classes.php".


Can you help me to find cause of this error ?

Thanks in advance.. :(
ghanshyam
Junior Member
 
Posts: 1
Joined: Mon Apr 07, 2014 12:24 pm