Quick Response

Friday, August 14, 2009

Server2Go Portable Web Server


Server2Go is a 'donationware' by German-based Server2Go software group. It comprised of a complete WAMP server-stack package (Apache web server plus additional PHP, MySQL and Perl components) that runs natively from virtually any portable media (USB drives, memory card, etc.) as well as write-protected media like CD-ROM, without the need of installation.


Read more...

The idea of having a complete portable web server configuration is for instance, to allow one to make a live presentation of how a newly developed PHP web without the need for a remote server and internet connection for that purpose. It sure sounds interesting and we already have a set of tests to see what this software package can do.

One of us here is running his own blog and forum on his PC for our LAN. He is using another web server package, XAMPP, and it does the same work as Server2Go, albeit it has to be installed locally on the machine. So we decided to perform a head2head comparison between the package and following is the result. For this test, we are using the complete Server2Go (for Windows) package, complete with Perl. The package comes in a 45MB .exe file.

First we need to turn off the Apache and MySQL service on the PC to avoid any conflict. Then we started with extracting all files to the local folder but inspite this we are going to treat it as if it is running in a write protected environment. Unexpectedly, our first complaint comes right before the extraction completed. It was painstakingly long and we remember installing XAMPP was a hell faster than this. We noticed that most of the extraction time was for extracting Perl files (which is not present in XAMP package actually) but we don't think it should take that long. The extraction finished only after a couple of cups of coffee and there are about 300MB of files successfully extracted.

Then comes the most tricky part. Just like XAMPP, our package of Server2Go also comes with both Apache and MySQl but unlike XAMPP, there is no control panel to play with. There is neither explanation nor user manual to begin with so we have to figure out how things work only after running and stopping the server for several times.

Everything lies in the settings file (pms_config.ini). We had to play with several different sets of configurations before we can get the server to run as we intended. However the setting explanation in this file is quite confusing because of the English language the developer are using. We are not saying that their English is bad. In fact we do understand how things are going on with them since English is also not our first language here but they should have done something to make it more straight forward.

By default, we have to say that server works only as a server and you can't use it to test your new PHP apps without configuring it to work together, unless you developed the PHP page right for the package (which kills the purpose of developing PHP apps offline). For example, we tried installing Wordpress and it simply refuses to proceed. Then we change the Apache HTTP port in the settings file to 80 (default is 4001) and things finally work (but still not as expected).

The default settings are really sucks in most ways. Since it does not have any control panel, it has to start with a browser by default. To make it worse, default browser was Internet Explorer! We changed it to our favorite Firefox but only to reveal more annoying default configurations; for example the server stopped when the browser is closed (when in the case we were switching to browse through Firefox). We changed the settings, as well as enabling the system tray icon to allow access to the server even after the browser is closed, without having to go to the Task Manager. My, they should have made the system tray icon enabled by default then when they don't have any control panel at all. Not only that, no matter what settings we are using, all the newly built MySQl databases as well as their newly entered data will be deleted when the server stops. This is ridiculous and we still can't figure out how to solve this.

Finally, we decided to give up on it and choose to stick with the proven-good XAMPP. Server2Go is actually nice and simple but those tricky settings and bad default configurations are major turn-off for most of us here. It is supposed to be user friendly but we find it is far from it. We can hardly recommend it but you may have a try if you think we made as mistake. Our final words:

Pros:
+ Simple
+ Portable

Cons:
- Tricky settings
- Bad defaults

Download Server2Go for free here:
http://www.server2go-web.de/download/download.html

No comments:

Post a Comment