Distributing a PHP application

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rick

    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
  • Oliver Grätz

    #2
    Re: Distributing a PHP application

    Rick schrieb:
    [color=blue]
    > 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...[/color]

    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

    Comment

    • Rick

      #3
      Re: Distributing a PHP application

      Oliver Grätz wrote:[color=blue]
      > Rick schrieb:
      >[color=green]
      >> 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...[/color]
      >
      >
      > 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[/color]
      Thanks, Oliver, I will look over your recommendations .


      Rick B

      Comment

      Working...