Jump to content
Larry Ullman's Book Forums

Recommended Posts

hi,

on page 9 of the book, it talks about how a php file can be executed without a web browser using a command-line interface. I downloaded a program from the internet to turn the php file given as an example in the book to .exe file.

I get a command line interface saying phpinfo.exe has been created, but from there I don't know how to execute it.

Link to post
Share on other sites

Sorry for the confusion. Turning a PHP file into a standalone executable isn't what I meant, however, and it's not something you'd generally want to do regardless. What I meant is that the PHP you've installed on your computer can be run either as a web module (e.g., through Apache) or by itself in order to execute the PHP code in a script. 

 

What is it you are hoping to accomplish?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...