473,326 Members | 2,680 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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 2143
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Greg Smith | last post by:
I am distributing a Windows application via a Setup.exe file. How do you change the default target folder that comes up in the "Select Installation Folder" dialog box. Any help is greatly...
2
by: David | last post by:
I have been going around in circles trying to understand the method of creating a database in VB.Net 2003 and distributing that application and database. It seems if I use the Server Explorer to...
10
by: John Phelan | last post by:
I read an article by, by Mike Groh, in Access-VB-SQL Advisor Magazine, Week 37 that concerns me quite a bit on distributing Access Applications commercially. First I need to describe a "commercial...
2
by: John Welch | last post by:
It happens much too often that I have to tell a client how to fix up missing references when I send them an application, especially if the client is distributing it to different users. It makes me...
0
by: news.microsoft.com | last post by:
Hi everyone, I am using the MSComm32.ocx in my application. Visual Studio itself created an Interop wrapper dll and included the ocx in the application directory. I packaged these when creating...
0
by: BallCOMET | last post by:
I have an application that I built with Visual Studio 2005 and for which I enabled OpenMP. If I open the compiled binary in Visual Studio, this is the manifest that is embedded in the executable...
9
by: alf | last post by:
Hi, I have a small app which consist of a few .py files. Is there any way to distribute it in jar like fashion as a single file I can just run python on. I obviously look for platform...
1
by: PurpleServerMonkey | last post by:
Working on a rather large open source python application that I want to release for Linux and BSD and was wondering what methods others are using to distribute large and complex applications. ...
9
by: eliben | last post by:
Hello, I'm getting into Python now after years of Perl, and as part of my research I must understand how to do some common tasks I need. I have a bunch of Windows PCs at work to which I want...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.