rahulkadukar Posted April 27, 2010 Share Posted April 27, 2010 I just installed PHP GTK on Windows Vista and got it up and running and it is working perfectly fine. I had one question, to run any application in PHP GTK we need to write something like "php /demos/Test_File.php" in the command prompt, but is it possible to directly compile the Test_File.php into a standalone executable like say a Windows Installer file (.EXE file). Hence basically next time all I would have to do is give someone the compiled Test_File to execute which the user would then simply execute, is this possible as it would in the true sense of the word mean that it is a standalone PHP application. Quote Link to comment https://forums.phpfreaks.com/topic/199928-php-gtk-question/ Share on other sites More sharing options...
Alex Posted April 28, 2010 Share Posted April 28, 2010 There are PHP compilers that are capable of compiling PHP into standalone executables. One such compiler is Roadsend, this supports PHP GTK 1, but not PHP GTK 2. If your goal is to be able to distribute a single installation file for convenience there's no need to compile into a standalone executable. You can create a simple batch file to launch the program, and use any of the many free available programs to package it into a single setup file. Quote Link to comment https://forums.phpfreaks.com/topic/199928-php-gtk-question/#findComment-1050107 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.