Convert a PHP script into a stand-alone windows executable

后端 未结 7 832
你的背包
你的背包 2020-11-22 14:29

I want to automate a fairly simple task. For this I have written a small PHP script which I run from the command line using PHP-CLI. Now I want to hand over this script to s

7条回答
  •  长发绾君心
    2020-11-22 15:22

    I tried most of solution given in the 1st answer, the only one that worked for me and is non-commercial is php-desktop.

    I simply put my php files in the www/ folder, changed the name of .exe and was able to run my php as an exe !!

    Also there is a complete documentation, up to date support, windows and linux compatibility and options can easily be changed.

提交回复
热议问题