I found a neat program called PAMPA (portable Apache, MySQL, PHP, etc) which allows you to distribute php scripts/apps via CD/DVD rom where the app will install Apache / PHP / MySQL on the fly. Seems to work real nice :)
My apologies if this link has already been posted.