How to create installer for offline web system PHP + Mysql

Asked

Viewed 1,867 times

0

I am developing a service order system in PHP and Mysql to be run offline. Only I wanted to distribute this system, but I don’t know how to package it.

How do I create, like an installer of this system to install on other machines? Is there a program or helper for this ?

Remembering that I would not like to expose the source files.

Someone’s already done it ?

  • Zend Guard encapsulate your source code and protect it. Remembering that just because it is a web application, it does not necessarily need to be the internet. A well-made configuration of your environment localhost realizes that. Another thing, making your code available as if it were off-the-shelf, should also provide instructions, and with this include in your package the installer of some environment like LAMP, WAMP, XAMPP.

2 answers

3


If it is for Windows, there is an alternative which is to use the ExeOutput for PHP, is a paid software and aims to create a .exe containing an internal browser, based on Trident (Internet Explorer) or Chromium (Google Chrome), in the latest version only Chromium is available.

The executable generated by the software has an internal server that allows running PHP 5.4 up to PHP 7.1, in the latest beta version.

It owns Sqlite, since Mysql is under GPL license and a commercial license is paid.

No software is reverse engineering approved, although it is possible to hinder, nothing is guaranteed. The ExeOutput for PHP has some security features and the main thing is that PHP will not be exposed as funcao.php in a folder, it is "compiled", I don’t know if that’s the right word, next to the .exe and only the .exe to run the program.

However it has disadvantages, besides being paid, it does not allow the user to access the same content in your browser, can only access through the internal browser of .exe.

That is an option and perhaps the least worst solution to this situation.


I participated in the Betas phases of Exeoutput for PHP, but I have no direct link with the company. This is just an alternative that can be used, if you believe it to be the best.


I have no information about other software that can perform the same function, only the ZZEE PHPExe but is extremely obsolete in PHP version 5.2, and the Bambalam which was also abandoned in PHP 4. However you can take a look at in this Soen publication that has other options.

1

In this field I advise using Wamp, for which you have access in this format.

See this link: http://www.wampserver.com/en/

With it you emulate a web server,and can install on the client’s machine to use your application,and if you have a more robust server you can install and free network access.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.