Page 1 of 1

Running PHP + MySQL from a CD

Posted: Tue May 10, 2005 9:48 am
by malcolmboston
im currently in the process of posting off a "portfolio" of work to a company, i have a very large collection of applications and therefore i think the best way of packaging these would be in CD format.

Now, i am thinking of creating a professional GUI which is autorun on the CD, sort of like an homepage with links to the rest of the applications on the CD.

Now basically i need to know if the PHP files can be run directly off the CD without the need for a web server, now i understand PHP files must be parsed on a web server, so i need to know if theres some sort of "mini-server" (sorry for that stupid word) available for it, also a similar MySQL solution would be required?

is this possible? and if not how have you guys done this sort of thing in the past?

Thank you, Mal

Posted: Tue May 10, 2005 9:56 am
by Roja
You want "Priado Blender". I can't seem to find a link for it at the moment, but you should be able to track it down.

Posted: Tue May 10, 2005 10:12 am
by infolock
you should actually PM a guy named Pyrite that's on these boards. He is the only person alive that I know that successfully got what you are wanting to do to work...

Posted: Tue May 10, 2005 10:34 am
by malcolmboston
infolock wrote:you should actually PM a guy named Pyrite that's on these boards. He is the only person alive that I know that successfully got what you are wanting to do to work...
Ive just PM'd him, is this only for PHP or MySQL too?

Posted: Tue May 10, 2005 11:01 am
by Chris Corbyn
I assume MySQL will work without write access? :? I'm no expert on this stuff though.

Posted: Tue May 10, 2005 2:01 pm
by malcolmboston
d11wtq wrote:I assume MySQL will work without write access? :? I'm no expert on this stuff though.
but how can you run the server off the CD is what im tring to get at

Posted: Tue May 10, 2005 2:02 pm
by Roja
malcolmboston wrote: Ive just PM'd him, is this only for PHP or MySQL too?
Priado doesnt handle mysql, however, you could instead use php5 and SQLite, which is file based.. then you could simply store the file in a predictable location on the CD, and read at will. (Of course you still couldnt write to the cd.. snicker).

In a twisted way, I guess you *could* try to setup mysql to run off the CD, and then have the priado'd program access that mysql.. presuming that the user had the priv's to run mysql, there were no firewalls blocking that port, yadda yadda.

Definitely complex, and would be interesting to figure out.

Good luck with it.

Posted: Tue May 10, 2005 2:05 pm
by malcolmboston
i could just set it up as a downloadiable links to projects, but i think it would look much more professional in the wa i describe

Posted: Tue May 10, 2005 2:21 pm
by Roja
malcolmboston wrote:i could just set it up as a downloadiable links to projects, but i think it would look much more professional in the wa i describe
Personally, if someone is hiring me to do WEB services, and WEB products, I'd be a little puzzled if they didn't let me demo it from the web. :)

Its like asking a car salesman to show me how their cars float.. they aint built for that.

But hey, I'm all about innovative presentations and new challenges, so I say go for it - if nothing else, its an interesting challenge that few here so far have answers to.

Thats always fun, cool, and impressive.

Posted: Tue May 10, 2005 2:37 pm
by malcolmboston
thank you Roja, for your encouragement.

I am planning now, in hindsight of this topic, just to set it up as a downloadable links "viewer" from the CD, after completing this i will attempt the more complex notion of a "server CD" and see if i can manage to do it before the weekends out.

I am giving it on CD because a colleague of mine would like to pass it on to some contacts that she has, i would like to give an excellent impression of my abilities so i think a more interesting CD based system would do this for me.

Posted: Thu May 12, 2005 9:11 pm
by Pyrite
Sorry for the late reply, I didn't see the priv message.

What you want is Microweb from Indigostar.com. It costs about $300/USD (one-time fee, no royalties). But it is worth it. You can run it off of CDs/DVDs/Thumb Drives etc. You can run MySQL, PHP, Perl, SSI, CGI, SQLite etc from a CD. It has saved my company in many of their endevours.
http://www.indigostar.com/microweb.htm


PriadoBlender is different, it compiles php scripts to binaries (.exe).
http://www.priadoblender.com/

Posted: Fri May 13, 2005 2:22 am
by Chris Corbyn
Nice... I will have a play with the shareware version and see what this is like..

PriadoBlender also sounds pretty cool if it works as well as it sounds :-)