Running PHP + MySQL from a CD
Moderator: General Moderators
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
Running PHP + MySQL from a CD
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
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
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
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).malcolmboston wrote: Ive just PM'd him, is this only for PHP or MySQL too?
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.
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
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.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
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.
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
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.
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.
- Pyrite
- Forum Regular
- Posts: 769
- Joined: Tue Sep 23, 2003 11:07 pm
- Location: The Republic of Texas
- Contact:
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/
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/
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia