0

Possible Duplicate:
Convert a PHP script into a stand-alone windows executable

I want to make .exe file of my ERP. How do i convert my software into .exe? I have no idea about it. Its written in php. Can somebody guide me or provide me if you have any tutorial for the same.

Thanks

Community
  • 1
  • 1
user1083644
  • 23
  • 2
  • 8
  • So you have a web application written in PHP, and you want to use it as a desktop software? – ppeterka Feb 01 '13 at 09:53
  • Go for another language. Languages such as C++ or Java have native access to more OS stuff than PHP has, but it also depends on your needs. – Sergi Juanola Feb 01 '13 at 09:54
  • You might be able to bundle a lightweight server, PHP stack and run the source through an encoder/obfuscator - then wrap the whole thing in a Windows installer that pops up localhost:xxxx in your browser to start it up. – halfer Feb 01 '13 at 09:55
  • Are you talking about [PHP-GTK](http://gtk.php.net/)? – Fabian Schmengler Feb 01 '13 at 09:55
  • @ppeterka - maybe its a command-line tool? Maybe he just wants to provide a compiled web app? In any case, it is possible to write GUI programs with PHP with libs like php-gtk. Not really worth the effort, but it is possible. – SDC Feb 01 '13 at 09:55
  • @SDC: that is exactly why I asked. Maybe I have dealt with too many weird questions for today, and have absorbed too many "bad juju" from them, as I thought about the worst possible situation... – ppeterka Feb 01 '13 at 09:57
  • @ppeterka, Yup. Written in PHP and wanted to convert it to .exe – user1083644 Feb 01 '13 at 10:12

3 Answers3

3

There's a pretty comprehensive list of PHP compilers in the answer to Convert a PHP script into a stand-alone windows executable

Community
  • 1
  • 1
Mark Baker
  • 209,507
  • 32
  • 346
  • 385
0

There are PHP compilers available, but in truth, if you want to create a compiled Windows .exe file, PHP is the wrong choice of language.

The compilers that do exist (such as HipHop) are targetted at a web server environment.

SDC
  • 14,192
  • 2
  • 35
  • 48
  • Not really true. I've compiled console programs with Phalanger without problems and there was no need for a web server whatsoever. – Joey Feb 01 '13 at 10:01
-1

With the advent of HTML5 and JavaScript can create applications through the use of languages ​​like PHP, Ruby, Python etc.. TideSDK is the new standard for creating beautiful and unique desktop apps using your web development skills.

You should try it

Home of Tide

ExoticSeagull
  • 1,547
  • 25
  • 46
  • Poor, poor, poor documentation! Tide has the worst docs I've ever seen. Nothing works based on their start documentation. Seems like someone with a messed up thoughts wrote the whole docs! The app and the process has way too many problems as of today! – GTodorov Nov 23 '14 at 05:05