weblog by Urs Gehrig

A weblog about libre software, law, technology, politics and the like.
Academic, Android, Apache, Apple, Art, Best Of, Biotech, Civil Society, Content Management, Cooking, Copyright, Creative Commons, Crosspost, Culture, Database, Deutsch, DRM, Economy, Education, Event, Gadget, General, Geodata, Government, Health, Howto, Humor, Innovation, Intellectual Property, Java, Language, LaTeX, Law, Linux, Media, Moblog, Mozilla, Music, Office, Open Content, Open Source, P2P, PHP, Podcast, Politics, Privacy, Projects, Random Thought, Rant, Science, Search, Social Network, Software, Sport, Talks, Technology, Technology Transfer, Travelling, Weblog, Wiki, Wireless and Mobile, XML

21. March 2003

Run PHP, Apache and MySQL from a CD-ROM
@ 11:50:34

Having a full working demo of an online application on a CD-ROM could sometimes be quite handy. There is at least one I know that exists, that is Microweb bringing a webserver with Perl, PHP and MySQL [1]. While reading about mysqlembedded I came across that posting [2] in the MySQL mailinglist.

So David Shield [3] has written a VB wrapper for handling apache, PHP and MySQL providing the source with the words
"... whatsoever - use it, change it, sell it, give it away, swap it for chocolate cookies - I don not care!".

There is also an approach with Borland C++ builder discussing the API to mysqlembedded [4].


Comments (2) Permalink

The URL to TrackBack this entry is:

  1. Comment by urs @ 2003-03-22 00:11:40:
    urs’s Gravatar The principle behind David's solution is the following:
    Libmysqld / php4embed / odbc - No, no and no!

    The principle I chose to follow was to make my life as simple as possible, and to fight the system as little as possible. What you have on the CD is 4 things:

    1) A working apache running from CD (with, however, the non read-only parts redirected to an area on C: so that the apache error logs may be written.

    2) A working, standard (though currently Win9x only) version of Mysql running from CD. Again, the rear-write parts are moved over to C:, so the database tables themselves, and mysql.err are pointed to c: (using a my.cnf / my.ini (cannot remember which I used)

    3) An installer (I used spoons as its open source) to create the working areas on c: (I make the assumption that 99% of machines will have a read/write drive c: available. This puts the folder structure in place on c:, and copies the database tables there)

    4) A VB (Ok, Ok, I'm sorry but I was in a hurry!) program to start off the installer, start the apache and mysql daemons, and basically make the demo look pretty.

    Hope that helps.
  2. Comment by Setec Astronomy @ 2003-08-29 18:07:46:
    Setec Astronomy’s Gravatar Hy,
    during a web search I find this links.




    Hope that helps.

    I'am what I'am, I do what I can

Comments closed.


Beiträge von Dritten:

Nachfolgende Titel verweisen auf von mir gelesene Weblogs.


Blog Content
Blog Comments



Good question, but...
Hi, thank you very...
Unter http://www.s...
Ich weiss mir nich...
ThanQ matthias. Th...
in case you just w...
ich liebe dir, urs...
hi there, sorry i...
Hoi Leo. I haven'...
Do you know the si...


Blog stack:

Bill Humphries
Wendy M. Seltzer
Christian Stocker
Roger Fischer
Sandro Zic
Wez Furlong
Ben Hammersley
George Schlossnagle
Joichi Ito
Lawrence Lessig
Derek Slater
Karl-Friedrich Lenz
John Palfrey
Bernhard A.M. Seefeld
Gregor J. Rothfuss
Rainer Langenhan
Elke Engel
Sebastian Bergmann
Simon Willison
Jeremy Zwaodny
Udo Vetter
Axel A. Horns
Miguel de Icaza
Andreas Halter
Silvan Zurbrügg
Hannes Gassert
Markus Koller

$Date: 2005/11/05 11:14:30 $