1

For a school project, I programmed something based on PHP using a MySQL database. for evaluation, it is necessary to hand the program together with the documentation three times to the teacher -- but the basic question is: How can I append a running program to this?

My first approach was to burn it onto a CD (with a portable version of XAMPP), but will that work? I mean, most actions of the program require access on writing data into the database, which might not be possible because the CD is read-only!

How can I realize this? I don't want to give away three USB sticks either!

2

Live-CDs are usually using a ramdisk for the base system or parts of the base system that need to writeable. I suggest you having a look into a XAMPP live CD (e.g. lampixx) and modify the content of the webdirectory (usually /var/www) of this CD.

3
  • Thx — I didn't think of a live-CD, just of a portable XAMPP. Should work, so I'll accept your answer :) – Lukas Juhrich Feb 9 '14 at 14:12
  • Thanks, just a portable XAMPP could cause some difficulties, as everything has to be linked either statically or should match the base system you are going to run it on (which is quite unpredictable). – Henrik Feb 9 '14 at 14:14
  • btw did you mean `/srv/www'? – Lukas Juhrich Feb 9 '14 at 14:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.