Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.