Jump to content

PHP GTK Question


rahulkadukar

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/199928-php-gtk-question/
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/199928-php-gtk-question/#findComment-1050107
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.