Allowing your local server access to your dev folder

Occasionally you will need www-data to write to your dev folder - for example uploading docs or perhaps creating a text log. If you house your dev folder outside the server, for example Apache, and symbolically link to it the original folder is still

Mongo Couldn’t Connect to Server

There are lots of reasons for Mongo not being able to connect to server - the most obvious one is that the service has not started or a file ownership issue as in owner not being mongodb. First place to check is in the log

How to create a symbolic link

When building new projects if I am not using an unbuilt server within a framework such as Symfony I like to keep my code-base separate from the web server that is serving up the content. Its good for security because you are not storing vital