I have been playing around with PHP a lot with a Baidu open-source project -> http://task.redefime.com/app/list recently. The project used mainly CakePHP as the back-end, which is an elegant solution for MySQL+PHP stack. I am writing this blog for documentation and reference purposes for my future. I am getting more and more like the character in Nolan's movie 'Memento' as I need to keep writing things down to keep me not running around the circles and trapped by the same set of pitfalls.
Environment Set Up
Set up Virtual Host :
<virtualhost>tag is used when you have multiple projects and you want to host them on different domain names so it doesn't get messed up:
- Open Config File:
- set up directorys and VirutalHost mapping (
DocumentRootis your project root,
ServerNameis going to be the domain name you want to host the