Jump to content
Larry Ullman's Book Forums

Turning Php Into A Stand-Alone Executable


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 comment
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 comment
Share on other sites

 Share

×
×
  • Create New...