Download Free PHP & Zend Framework Tutorial.pdf I did a lot of googling, installing, re-installing, … but finally got my first php project to work. I used WAMP for the apache install, the Zend Framework as an MVC, and PostGreSQL as a backend database. Below you can find a basic tutorial on how to get started. Included are following steps:
  • Install & configure WAMP
  • Configure PHP
  • Install & configure PostGres
  • Set up the Zend Framework
  • Start programming
I’m gonna try to keep everything as simple as possible. Downside is that you’ll have to try & configure some things on your own. On the other hand it’ll keep this tutorial from becoming too big (and you probably didn’t even got to reading this sentence)… Oh yeah, I’m doing this on my Windows XP system, I don’t know how differently all of this should be done on other systems. Why WAMP? Well it’s the Windows version of the popular LAMP distribution and the installer configures a lot of things for you. I started with installing & configuring everything (Apache, MySQL/PostGres & PHP) separately which worked (after some time), but I want to spare you the frustrations I had to endure. I’m not gonna tell you how to download it and click next during the installer. The most important thing is the ‘httpd.conf’-file which configures the server. Following parameters are quite important (but should be set correctly after installing WAMP):
  • the parameter “documentRoot” points to your ‘www’-folder, where you can drop your PHP-files that can be viewed by browser when the server’s URL is given
  • the parameter “loadModule” points to the PHP configuration that should be used (PHP runtime environment normally is a separate install – Apache can’t handle PHP on his own