I need to deploy pre-existing projects that use a remote php/mysql
server
Be nice to redeploy them on CD-ROM with a minimum of effort :)
do not think PHP can deploy its own web server :( Needs to be installed
along with mysql on the user's computer
I'll check out SQLLite and see if there some daylight there...
Maybe a Python project already exists that does this.
Seems that something like this should already exist cross platform ?
g
On Aug 24, 2005, at 3:16 PM, Roger Howard wrote:
On Aug 24, 2005, at 11:57 AM, Graham Anderson wrote:
Is there anything cross-platform out there that can act as a stand
alone web server for CD-ROM delivery ?
Would like to hook up my QT projects to a localhost database that
speaks php/mysql.
On the PC side, you have dwebPro. Wonder if there is a cross
platform equivalent ?
Or, is there an app like dwebPro that has Windows and Mac versions ?
Depending how savvy you are with Apache, MySQL and PHP you could
bundle this yourself - all these components work on both platforms.
You'd have different binaries for each platform though, unlike Dick's
suggestion, and you'd basically be "rolling your own". I'm not aware
of any such prebuilt packages for both OSX and Windows from a single
source.
Certainly all these tools, though, can be sandboxed and run as
components in a large app without having to leave a big mess behind.
That said... why? How about cut out Apache and MySQL for starters,
since both are probably unnecessary for a CD-ROM app (you're not going
to be *writing* any data, just querying... and Apache is only used as
a front-end to PHP). Instead, pick a scripting language like Python
which can provide it's own http server and has SQLite support. That
way you've only got one component (Python, or PHP... not sure if PHP
can host it's own Web server though) to bundle... no separate Web
server to start up, no database server to start up. SQLite is a nice
embeddable SQL database, more suited to CD-ROM. Python has good XML
support, though I'm not trying to push Python particularly - it just
seems more suited to the job than Apache+MySQL+PHP.
At very least, I'd look at skipping MySQL and using SQLite.