This post is mostly a reminder to myself, but I thought I’d put it out there just in case other people wanted some help:
Installing Zend Server CE
If Zend Server is already installed, you need to remove it:
- For older versions of Zend Server:
- Run
/Applications/ZendServer/bin/zendctl.sh stop - Remove
/etc/zce.rc - Double-check that no instances are running (you can use
ps ax|grep -i zend)
- Run
- For newer versions of Zend Server
- Run
/usr/local/zend/bin/uninstall.sh
- Run
Now download the latest version of the Zend Server CE Installer and run the installer
Link the CLI binary so you can use PHP from the command line:
sudo ln -s /usr/local/zend/bin/php-cli /usr/bin/php- Please note that this step is optional
Installing the Zend Framework
Now download the latest version of the Zend Framework
Unzip and copy the following files:
library/Zendto/usr/local/zend/share/ZendFramework/library/Zendextras/library/ZendXto/usr/local/zend/share/ZendFramework/library/ZendXbinto/usr/local/zend/share/ZendFramework/bin- Please note that if you don’t need the
zfcommand line tool, and the version of the Zend Framework that came with Zend Server is up-to-date, these steps are unnecessary
Finally, link the zf.sh file so you can access it easily:
sudo ln -s/usr/local/zend/share/ZendFramework/bin/zf.sh/usr/bin/zf
That’s it for now. Hope that helps someone else out.
Link to this post!
Related posts:
- Mapping subdomains to modules in Zend Framework For some reason this took me a long time to...
- PHP Modeling (in Zend Framework) I’ve been thinking a lot about Modeling in a MVC...
- Better Zend Framework Documentation If you’ve every tried to navigate the Zend Framework documentation’s...
- Review: Zend Framework 1.8 Web Application Development At the beginning of February PACKT Publishing sent me a...
- Zend Framework URI validator & filter For the last couple of months I’ve been incorporating portions...