Zend Server CE (Community Edition)

Today, after a long time messing up with XAMPP, MAMP and the Web Sharing – or default Web Server of Mac OS X, I found out a very new product which is free to “grand” public: Zend Server CE (Community Edition). There are Linux, Windows and Mac OS X versions. The versions for Unix-like OS has a particularity is that the listening port is 10088 by default but not 80. The Windows version I have not tested yet, let that for tomorow, uses the defaul port 80; and Debian-based OS (Ubuntu) is for tomorow too.

It’s a bit late now, so I just head into the main point why I am writing this post ;) I wanted to change the default port to 80 on my Mac, ok, it’s a piece of cake, try /ZendServer /usr/local/zend/apache2/conf/httpd.conf (I like the file structure of Zend Server, it’s way more familiar than other stuffs I cited above). After changing the Apache conf, I cannot make Zend AdminInterface (run on lighttpd) work with the Apache on new port, and I searched for a while and Eureka! found the config file here: /ZendServer/gui/application/data/zwas.ini /usr/local/zend/gui/application/data/zend-server.ini (Since 4.0.1)

[zendServer]
version = 4.0.2
build = ZEND_SERVER_GUI_4_0_22_20090426
packageBuild = INSTALLATION_PLACEHOLDER_PACKAGE_BUILD_NUMBER
rewriteEnabled = On

[userServer]
url = http://127.0.0.1:10088/ZendServer (in my case I change it to http://127.0.0.1/ZendServer)

….

Last thing, you need to make an alias of /ZendServer/apache2/htdocs/ZendServer /usr/local/zend/apache2/htdocs in the new DocumentRoot to make sure that Apache can start correctly. (it’s actually an alias of /ZendServer /usr/local/zend/gui/UserServer as in the ini file it says.)

To Linux Users: If you have already have a running apache, when you install ZendServer, it will use your current apache server :) and things work just as smooth as it should be after a 3 minutes and 5 command lines installation :D (tested on Ubuntu 8.10, the server which hosts this blog)

Hope this post help some one out there, tomorrow I will update more about this Zend Server.

At this time I have the problem with mysql.sock on Mac, as always :) )

Updated: ZendServer 4.0.2 has MySQL on its own, it’s now the best thing out there for Mac in my taste, pity that Zend still does not make 64bit version for Windows :(