Prerequisites:
Install Apache(my version 2.2) and configure the php in httpd.conf,
Install Mysql
enable LoadModule rewrite_module modules/mod_rewrite.so
Configure the database connection
MVC construct, model,views,controller
Refer to: http://www.ibm.com/developerworks/cn/opensource/os-php-cake/