Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Create .exe file in php with mysql database

Tags:

php

mysql

exe

i have developed in-house software for hotel management system using PHP/MYSQL. Our Client wants Software in .exe format and used in desktop. i use various softwares for .exe conversion but it only support php but i want's to connect with MySQL Database. Please anyone can help to create .exe conversion with MySQL Database..

like image 265
skr07 Avatar asked Feb 27 '12 06:02

skr07


2 Answers

  1. Download PHP Desktop Chrome.

  2. Copy all your code from site directory to Phpdesktopchrome/www directory.

  3. Run Phpdesktopchrome.exe, it will execute like a browser with PHP compiler.

  4. Download Innosetup Software for make exe file.

  5. Install and run Innosetup and select Phpdesktop chrome files to create a EXE file in Option.

  6. Install wampserver in client system with database import.

  7. Enjoy.

like image 70
softwarebala Avatar answered Sep 18 '22 09:09

softwarebala


There are many compliers available on web by which you can create EXE in PHP. This program runs through dos and windows only... :) so this is good news for windows user

  1. First Download zip from Here.
  2. Now unzip it and open Command prompt and then go to its directory location.
  3. Start -> run then type ‘cmd’
  4. Use the “cd..” command to change directory.
  5. Place PHP script to be compiled next to bamcompile.exe place it in same directory.
  6. In the cmd prompt, at that directory, type:

    bamcompile test.php
    

variations:

bamcompile -c test.php gives compression.
-e:something.dll allows a DLL to be embedded

Ready made examples are given in Zipped files which you have downloaded,just try it out. Another application wapache is also there but i dont know much about it.

like image 23
Girdhari Lal Kumawat Avatar answered Sep 20 '22 09:09

Girdhari Lal Kumawat