I think some of the instructions there are a bit confusing for you.
If you are installing it onto the same hosting as your phpvms installation, you may need to change the public_html with another folder just to make sure you don’t stuff up that installation accidentally.
Go to your files where it has the folder called public_html (should be a bunch there which you wouldn’t normally touch).
Create a folder here called phpvms (this is the name of the folder you will need to use when modifying the directories, make sure this is NOT in the same folder as public_html, but in its own folder above it).
Now your folder structure should look like this
home/..... public\_html phpvms ...
Inside the phpvms folder, upload the downloaded zip folder except for the public folder
Still inside the phpvms folder, go into bootstrap/app.php and edit these lines
$app-\>bind('path.public', function () { return \_\_DIR\_\_.'/../public'; });
to this
$app-\>bind('path.public', function () { # This line needs to change to the folder the index.php lives in # Will be made as an option, so it doesn't get overwritten return \_\_DIR\_\_.'/../../public\_html'; });
Now go into the public_html folder and upload only the public folder’s contents
From here, open index.php and find this line
$path\_to\_phpvms\_folder = \_\_DIR\_\_.'/../';
Change it to this
# Change line 13: $path\_to\_phpvms\_folder = \_\_DIR\_\_.'/../phpvms/';
And it should work with Nabeel’s instructions (make sure that your folder permissions are set correctly and that your directory structure is the same as above). Using this method, a symlink to the storage directory may be needed.
EDIT: Just saw Nabeel’s last post, he’ll be able to help.