You might also consider perl which is a very popular language and excels for web development. Also, PostgreSQL makes a very good Database Server. I have written a shopping cart application for Linux, Apache, Perl, and Postgresql that can be downloaded, if your interested. The name of the application is smcart-0.95.002-i386.tar.gz. Here is a link to the demo:
http://www.smvfp.com/sm_demo/kart_index.plRegards,
LelandJ