By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,729 Members | 1,433 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,729 IT Pros & Developers. It's quick & easy.

Distributing a PHP application

P: n/a
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...

Thanks in Advance,

Rick B
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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
Jul 17 '05 #2

P: n/a
Oliver Grätz wrote:
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

Thanks, Oliver, I will look over your recommendations.
Rick B
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.