470,600 Members | 1,480 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,600 developers. It's quick & easy.

Distributing a PHP application

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
2 2018
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
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.

Similar topics

1 post views Thread by Greg Smith | last post: by
2 posts views Thread by David | last post: by
10 posts views Thread by John Phelan | last post: by
reply views Thread by BallCOMET | last post: by
1 post views Thread by PurpleServerMonkey | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.