Download Source Files
In this video tutorial, and companion article, we will go over how to install and configure the Zend Framework to work with your local development environment. I will be using Wampserver 2.0i on a Windows Vista computer but these steps can be adapted to XAMPP, MAMP, or whatever stack of Apache, PHP, and MySQL that you’re using. Become a Premium member!
Join Tuts Premium

For those unfamiliar, the family of TUTS sites runs a premium membership service called “TUTSPLUS”. For $19 per month, you gain access to exclusive premium tutorials, screencasts, and freebies from Nettuts+, Psdtuts+, Aetuts+, Audiotuts+, and Vectortuts+! For the price of a pizza, you’ll learn from some of the best minds in the business. Become a Premium member!
- Subscribe to the Nettuts+ RSS Feed for more daily web development tuts and articles.


I wonder if I am the only one not seeing anything in the screencast
No you aren’t , this is a plus tutorial, I would like to see it too :(
I hear the sound, but the screen just remains black. Some quality assurance, anyone?
i have same problem …
Sorry that it’s not working. Not sure what’s going on. I’ll let Jeffrey know. There may have been some file corruption issues when it was uploaded and it needs to be reuploaded.
mary
Looks like great tutorial..!
I will try it..!
Thanks..!
Thanks! I hope you find it useful!
The screencast ain’t working here, i get an error. But alright. I read the tutorial a little bit and i saw that you are using the zend library (Library/Zend/All the zen stuff).
I use the zend framework for more projects, and really if i put the zend package in every library in every project, my computer will be full fast!
My tip is, (on wamp) put the library with zend in C:/wamp/bin/library and then at in your php.ini the path to the library. So you don’t have to put it in every project every time.
And updating the zend framework is now a way faster!!!
Alexander de Jong
But what you will do when you deploy your site on a shared hosting, and you wouldn’t have access to php.ini ?
Thanks for the comment Alexander. I actually talk about how to do it both ways, and what I see as the advantages and disadvantages of each method. If you have projects built over time you may not want the library in one central location since you may not be ready to update code from an old project to match a new version.
However, you’re right. If I was building many projects on one version of the Zend Framework I would be inclined to place the library in one central location as I show in the screencast and then add the path to the php.ini file.
Thanks again!
I don’t know if it’s ok, but I just add the path to the index.php file, by modifying the array inside “set_include_path()”.
Mauricio
I think there are many ways to make this work, and the best way is the one that works for you, saves you time and makes your workflow seamless. In the screencast I go through just two ways to do it, but I am always interested in learning how other people set things up. :)
mary
That is a point for you.
I keep always the zend framework on one single location. And in my projects i also got a library folder.
But for some projects it is smart. But i got 2 local servers, and in one server i got a central installation, and in the other i got in every project a single installation of the Zend Framework.
I finally had a change to look at the screencast.
Now one thing that interest me real much is the thing about the environment variables, you said you need to restart your computer.
That ain’t true, i’ve used windows xp, vista and now 7 and i always had a need to add environment variables, but never needed to restart my computer. It always works.
Now if you are running the cmd.exe and you add a variable while it is still running you will need to restart the cmd, not the whole computer.
Therest, a nice screencast! Thank you very much for sharing this with us.
And one thing to add, if you want too upload the zend framework to an public server, make sure you have arround 20 cups off coffee. And something to do, it takes so much times to upload it to the web that you want to throw a way the internet :)
Have a nice day!
Alexander
Thanks again Alexander. It’s very possible that I’m wrong about the restarting thing. I always find I restart Windows whenever I change path variables, not sure if it’s out of habit, but I’ve found I sometimes get odd behavior on good old Windows if I don’t. But you could very well be right about that.
Yes, uploading the framework to the web can be painful… lol. I usually zip everything up for the upload but still, yes, it can make you want to throw away the internet :)
mary
Again, I can’t stress the fact that still the free tutorials seen to be better then the premium ones (Not saying anything about this one)
The free > The premium, which is not soo good, as no one will buy a premium
Good tutorial!
Thank you for the feedback!
@ShadowAssassin: Yeah I can agree with that. I purchased a year subscription but in general the free tutorials are noticeably better.
Would be good to be able to download the premium screencasts too. Having to view it in a web browser isn’t always convenient.
Khalil
You can download the premium screencasts. When you’re on the tutsplus page and logged in, click on the “Go to PLUS Content” link. Then on the right sidebar, click on “Net Plus” and next to each premium tut you’ll see a download link for the screencasts :)
looks like the screencast is working now. Thanks Mary!
Good to know, thanks!
not a plus member :(
I don’t have dollars but CNY. If the gateway including alipay, then it would be great.
Just another method availble to you all is to use Zend Server CE over wamp. It ships with ZF out the box.
Yes, Zend Server CE is a great option which I mentioned in the screencast. But many times people already have WAMP or MAMP set up and it doesn’t always make sense to have a second stack installed.
um… would I want to pay for something already available on-line in other places?
Of course the information in the tutorial/screencast is probably available elsewhere, none of us claim to have invented something new. We’re simply teaching and showing what we know in our own unique way and style, with our own spin and from our experience, and you can choose to invest in that or not. It’s your choice.
I’m always surprised when people make statements similar to the one you just made. When you join tutsplus you’re not just paying tp watch/read one tutorial, but for access to premium content across the entire tutsplus network of websites, which is priceless.
Nonetheless, it’s entirely your prerogative :)
Hi,
I’m on Vista, running WampServer 2.0. I tried a tut before by Tawfek Daghistani but didn’t have much success.
Could I use this tutorial to install ZendFramework successfully?
If so, where do I sign up? :)
It worked for me!! :)
http://tutsplus.com/join/