Search the Community
Showing results for tags 'vm'.
Found 3 results
Hi all ! My program works just fine on xampp but the exact same code ported over to VM running ubuntu12.04 / apache 2.4/ php 5.6 and mysql 5.5 gives errors. These errors occur when the program executes the require_once / include commands with paths. More specifically the following works on xampp : require_once("/path/to/file.php") but on the VM this gives a "no such file or folder present" error. On the VM the following works : require_once("path/to/file.php") I wonder if this is a know issue and that on a linux server the paths are defined like this or do they change from one linux strain to another? I have not decided on a web-host just yet and so I am just wondering if I should make changes to the paths. Thanks all !
Hi all ! I recently learnt a bit of vagrant to set up a VM fast and try out things with it and one of the neat things about vagrant is that it lets me keep my project folder / website folder on the host machine and make changes to it there while I can test out the project from the VM Next I wanted to try and host another site on the same VM so instead of trying it out on the same VM, I thought it would be better to create a clone of the current state of my VM and try out things there. So I made the clone but now I don't know how to change the association of the project folder to another folder on my host machine. Earlier I did that using vagrant init in the project/website folder and that was how the machine was initialised and created and the folder association was automatically made. Now here the clone is already there and pointing to the same project/website folder and I want to change this to a new folder and try and host 2 websites from there. This is the folder in the association in the original VM. vagrant ---www---myproject It is also the same in the clone. But I would like to somehow change this to say vagrant1 ----www --- MP1 | ---- MP2 I have searched the net but to no avail. Please looking to the experts for some help here. Thanks loads !!
Hi all, I have a linux VM on my Windows computer and I use that for testing. I also have a xampp installed on my Windows machine and that is the default local host for the windows machine. So is it possible for me to make the VM act as a localhost for the windows machine as well? If so, how? I hope that my question is clear. I need to do this since I it's difficult to debug my flash files as the rest of the project is on the VM. I don't want to take move all the stuff back into the windows machine just to test the flash files there. Thanks all !