Saturday, March 6, 2010

Tomcat on XAMPP server

XAMPP is a wonderful light weight open source web-server package. I recently bought one of those little netbooks and wanted to set up a local server to play around with jsp and php.



It turns out XAMPP is just perfect for this, as it the basic installation comes with php apache, mysql and there is a separate plugin for tomcat server. The installation is easy, just two things to consider and you should be off to server side coding adventures.

- php root folder on localhost: ...\xampp\htdocs
(the place you will put your php pages to, and to access them from a web browser type http://loopback/ or localhost)

- the equivalent tomcat folder will be in (xampp\tomcat\webapps\ROOT) this assuming you followed standard installation steps. To access this location in a web browser you might have to type something like, http://localhost:8080/ (the tomcat server is on port 8080, since 80 is in use by apache)

No comments:

Post a Comment