Rick schrieb:
Hi all,
I am writing a small PHP accounting and office management application
and would like to learn how to "package" it for distribution. It
requires the use of a small MySQL database which is my main concern.
How do I distribute that...and insure that it can be used, i.e., having
the proper MySQL services running.
Any comments or direction to sources of info will be greatly appreciated...
For installing the database, use the export function of PHPMyAdmin. You
can then put the .sql file in your distribution and write a PHP script
that calls the commands to install the database.
Then, if you are writing a standalone application (and no web
application) like one with GTK GUI, there's something (saw it a few days
ago) at PEAR or PECL (use Google) to help you in creating a .exe type of
program.
If it is a web application, you can use products from Zend to scramble
your application, so that the customers can't see the code.
As for the web and database servers, there's no problem on Linux.
But if you are distributing for Windows, you should watch out for a WAMP
distribution that fits your needs.
AllOlli