Zend Server CE

Zend Server 6 – Noted Improvement Is Here

February 16th, 2013 0 Comments

Start Your Project off Right with the Best Free PHP Server
Zend Server Free Edition gives your app the edge – get the fastest PHP server around, ready to go with all the drivers you need, along with advanced debugging tools.

Fastest PHP stack
Certified, tested PHP runtime pre-configured with popular extensions and libraries
Advanced troubleshooting tools
See key metrics on your app’s performance and set custom monitoring thresholds
Automatically package apps up to move from testing to production

Full PHP Stack
A full stack that has been pre-integrated and tested by Zend. Everything you need is included as standard, whether you’re using Windows, Linux or Mac OS. The simple, native installers will set you up in minutes with:

• A certified PHP distribution
• Bytecode accelerator (Optimizer+)
• Zend Data Cache
• Zend Framework
• Apache (or IIS integration)MySQL (on Windows and Mac OS X)
• Out-of-the-box connectivity to all common databases
• Web-based PHP administrator console

Best Performance
Zend Server includes multiple capabilities for improving response times including:
• PHP bytecode caching (Zend Optimizer+) – increases performance with no application changes
• Data caching – a set of functions that allow developers to cache data in shared memory or to disk

Advanced Troubleshooting
Zend Server has a full toolset to help you find the cause of app issues fast.
• Code tracing provides a line by line snapshot of PHP code execution for any given URL
• Web Services debugging means you can identify and trace the path of web service calls. Easily integrates with Zend Studio IDE.

Free Versus Paid?
While free Zend Server is a great solution for a development project, it has limitations compared to paid Zend Server subscription. Paid subscriptions include longer data retention (months or years rather than an hour of metrics), technical support and security patches , more performance features, and multi-server support and management.

They have been simplified, or complicated, depending on how you look at it. There is only one option, and that’s the Enterprise Trial version, however, from within the admin you can change your license to another version, including the free version.

If you’ve used Zend Server CE, you’ll much enjoy this upgrade to ZS6!

OSX 10.8 Mountain Lion Zend Server CE Config

November 29th, 2012 0 Comments

Zend Server CE is a great stack for PHP developers, especially those that like to develop with the Zend Framework framework. Unfortunately, the server experiences some issues for the latest OSX users. I’ve created some other blog posts that walk you through a setup…


but you will need to fix this issue with MySQL for the DB to work correctly. At first, you may not have an issue, but quickly you will run into the issue that many others have faced, including getting the following error:

ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/usr/local/zend/mysql/tmp/mysql.sock’ (2)

And if you navigate to this directory, you’ll see this file doesn’t even exist / was removed over time from a software issue. Here’s the fix…

Fire up the terminal, and enter…

sudo nano /usr/local/zend/bin/zendctl.sh

On the fifth line you’ll see the following statement:


Change it to the following:


Now, go further down within the file, until you come to the start sequence. Here we’re going to add one line that’ll issue the “start-mysql”-command.

$0 start-zdd %
$0 start-monitor-node
$0 start-mysql %
$0 start-apache %
$0 start-lighttpd %
$0 start-jb %
$0 start-jqd %
$ECHO_CMD “\n$PRODUCT_NAME started…”
Below the start sequence you’ll find the restart sequence, which should look like this.

$0 restart-zdd
$0 restart-monitor-node
$0 restart-apache
$0 restart-mysql
$0 restart-lighttpd
$0 restart-jb
$0 restart-jqd

And, if you go further down you’ll find the stop sequence, which should look like this.

$0 stop-apache %
sleep 2
$0 stop-lighttpd %
$0 stop-jb %
$0 stop-mysql %
$0 stop-jqd %
$0 stop-zdd %
$0 stop-monitor-node %
$ECHO_CMD “\n$PRODUCT_NAME stopped.”
Now, save and exit by pressing ctrl+x, select “Yes” to the question “Save modified buffer” and write to the same filename.

The next thing we need to do is to make sure that the correct script is executing when starting up OS X. To do this you’ll need to go to the startup directory, remove the old script and link in the new script:

cd /Library/StartupItems/ZendServer_init/
sudo rm zendctl.sh
ln -s /usr/local/zend/bin/zendctl.sh ./
To ease maintenance we’re going to setup a link within the our sbin-folder.

cd /usr/sbin
ln -s /usr/local/zend/bin/zendctl ./

Now restart the server: sudo zendctl.sh restart


STILL not working? Well, that’s not unheard of, as many online can attest to. Unfortunately, Zend doesn’t seem to have an official answer to this issue either.

When in doubt… download MAMP. MAMP is a GREAT stack to use. Very easy to use and setup, includes virtually everything you’d want to install out of the box, incredibly easy to config on the fly, and for MAC users that like things that “just work”, MAMP is a great option. You can learn more at MAMP

OSX Mountain Lion and Zend Server CE

August 7th, 2012 0 Comments

A few things worth noting if you’re new to OSX Mountain Lion and setting up Zend Server CE.  My blog post about setting up Zend Server CE has been very popular, but there’s a few things to keep in mind with Mountain Lion.

Zend has recently released a fix for the software to be compatible with Mountain Lion, so be sure you are downloading the latest version of Zend Server CE.

Also, you may have noticed that OSX Mountain Lion does not have the bash_profile file initially, which will cause other issues for you when it comes to installing PHPUnit or similar associated with PEAR.

To create your bash_profile file, please do the following:

+ open  Terminal

+ type  touch .bash_profile

+ type  open -a TextEdit.app .bash_profile

Now you can make your additions as needed for setup.  For example, you will want to add the following to this file:


Be sure to check out http://www.cmiwebstudio.com/blog/zend-server-ce-for-mac-osx-10-lion/