Not too long ago I installed Zend Server which is a great tool that can help you manage and debug your PHP applications. It can also help make sure that your development environment is the same as your live environment so that surprises are less common for you.
Recently Zend updated Zend Server to 6.10 however there are no good instructions on how to update the product. After a bit of browsing I could see some questions about how to do this but little in the way of answers (it did only update a few days ago).
Anyway when you install Zend Server on Linux it sets up a new yum repository to use to install and keep the package updated however when trying to update nothing actually updated.
Upon checking the repository file at “/etc/yum.repos.d/zend.repo” I found that this contained the following:
[Zend] name=Zend Server baseurl=http://repos.zend.com/zend-server/6.0/rpm/$basearch enabled=1 gpgcheck=1 gpgkey=http://repos.zend.com/zend.key[Zend_noarch] name=Zend Server - noarch baseurl=http://repos.zend.com/zend-server/6.0/rpm/noarch enabled=1 gpgcheck=1 gpgkey=http://repos.zend.com/zend.key
As you can see the file specifically references the repository for 6.0. To try to fix this I changed the file to have:
[Zend] name=Zend Server baseurl=http://repos.zend.com/zend-server/6.1/rpm/$basearch enabled=1 gpgcheck=1 gpgkey=http://repos.zend.com/zend.key[Zend_noarch] name=Zend Server - noarch baseurl=http://repos.zend.com/zend-server/6.1/rpm/noarch enabled=1 gpgcheck=1 gpgkey=http://repos.zend.com/zend.key
Once I had done this I then carried out the following 2 commands:
yum clean all yum update
This now prompted me if I wanted to update many components. Low and behold Zend Server now reports:
PHP Version 5.4.16Zend Server Version: 6.1.0 Zend Framework: 1.12.3, 2.2.1 Zend Server Gateway: 0.9.0 Build: 71826
Fingers crossed. All appears fine.
One thing that is a bit disappointing however is that now we have no ETA on Zend Server with PHP 5.5 support. I was looking forward to utilising some of the PHP 5.5 features on the product I am making.