473,785 Members | 2,641 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2161
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
1294
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 appreciated.
2
1742
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 create the pledbConnection etc, the link to the database works ok on the local machine but when the application is distributed, the program points to the original path (which of course is different to the target system). Is there any way to...
10
7426
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 version" of my application that I hope to distribute after completing all the beta testing: A. It was developed using MS AccessXP Pro (developers edition), B. It has a front end MyApplication.mdb and a MyAppBbackend_be.mde; the front end is...
2
1796
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 look unprofessional (which I guess I am to some extent). I've tried the fixuprefs() function I got from the knowledge base (that uses the qryTestRefs and checks for error 3075), but it doesn't seem to get called, and I still get the problem. I'm...
0
1535
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 my setup project for the application. However, on the target machine, when the application is run and the MSComm32 lib is referenced - it gives an error saying "class is not licensed for use".
0
1832
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 as RT_MANIFEST entry 1: <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> <dependency> <dependentAssembly> <assemblyIdentity type="win32" name="Microsoft.VC80.CRT" version="8.0.50608.0" processorArchitecture="x86"...
9
2033
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 independent solution. Thx in advance, A.
1
1415
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. Setuptools and friends seem to be focused on distributing modules, I'm at the other end of the scale where I want to distribute an entire application so that an Administrator can run a single install and have a fully operational product. A key...
9
1510
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 to distribute an application I've developed on my PC. All these PCs have Python 2.5 installed. If my application contains only code I've developed, I simply zip its
0
9645
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10325
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10148
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10091
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2879
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.