/    Sign up×
Community /Pin to ProfileBookmark

how to make exe using php

is there any possibility make dot exe file…
i want to make a executable file using php, please suggest me to do the exe file all the replays will appreciated….
thanks in advance…

to post a comment
PHP

5 Comments(s)

Copy linkTweet thisAlerts:
@JTweedieNov 15.2010 — I doubt there is a way to compile PHP into an EXE, but I suppose you could do something similar.

You could build a simple program in something such as VB. Just build a form, add a browser control to it, and make it direct to the script when the program starts.

You would however need to have the server software running, which I assume is the problem you are trying to avoid?
Copy linkTweet thisAlerts:
@criterion9Nov 15.2010 — If you have php-cli enabled (on by default) then php files are already executable just like .sh (for *nix) and .bat (for Windows) files from the command line. What is the final goal of turning the php files into "exe" files?
Copy linkTweet thisAlerts:
@criterion9Nov 15.2010 — @ravicheganti

Php can execute other programs/scripts that can compile or build executables. Check out exec as one example of a way to call a command-line compile tool (such as javac).
Copy linkTweet thisAlerts:
@NogDogNov 15.2010 — A little Googling found several items of interest.

Apparently this is what Facebook is using: https://github.com/facebook/hiphop-php/wiki/

Some others to check out:

http://www.roadsend.com/home/index.php?pageID=compiler

http://www.phpcompiler.org/
Copy linkTweet thisAlerts:
@svidgenNov 15.2010 — I think the important question here is ... why?

The answer that's going to suit you best depends a good deal on what you're trying to accomplish. Do you need a distributable executable? Do you simply want to run PHP from the command line? Are you looking for an efficiency gain? etc.
×

Success!

Help @ravicheganti spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.12,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...