/    Sign up×
Community /Pin to ProfileBookmark

what is PHP.exe for???

hi,

i just installed php.exe from php.net in my computer but i cant figure out what to use it for if i execute it. I know it works if i click on a php file i have stored in my compu but when i just execute php.exe a cursor appears and i dont know what to type in or what function does it have. Can be something done from there? or you are not supposed to open it directly?

Thank you.

to post a comment
PHP

3 Comments(s)

Copy linkTweet thisAlerts:
@NogDogAug 20.2009 — php.exe is the Windows executable for running PHP programs from the command line. See http://php.net/cli for all the syntax and usage info.

Most web applications, however, are run via a web server PHP module, and as such you run those PHP apps via a HTTP request (normally via a URL from your web browser, even if it is a "http://localhost/" request to your local PC). You can use [url=http://wampserver.com]WAMP[/url] or [url=http://www.apachefriends.org/en/xampp-windows.html]XAMPP[/url] to install everything you need.
Copy linkTweet thisAlerts:
@supercainauthorAug 23.2009 — Thank you. I just wanted to know if you could do something by executing the php.exe and typing in commands but it seems that you can do all that from command.exe.

Thanks.
Copy linkTweet thisAlerts:
@ryanlundAug 23.2009 — Just install wamp for local testing mate, it makes everything so much easier
×

Success!

Help @supercain 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.2,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...