Jump to content

Use PHP to create standalone win32 application


Recommended Posts

Hello guys

oh well - everything is summed up in the title.

did anyone try? how come that you can create a win32 application using php? :? I don't get it - don't you need a webserver to run a php code?

please share your experiences if you did try!

Link to comment
Share on other sites

Got a link or something?

PHP is a web-oriented scripting language. It can be used to do pretty much anything, but is designed to produce HTML output for a browser. On UNIX, if you install the php-cli package (or some such) you get the PHP binary that you can feed a file into and it will interpret it. If you enable support for misc binaries in Linux you can probably make your script run from the command line like a regular executable.

Link to comment
Share on other sites

You mean using the php gtk?

There is a nice little tutorial here:


The files aren't actually stand-alone, they are still interperated by php, but the gtk allows the files to be run without a web server.


so it's not like you can redistribuate the program... other clients must have the php interpreter installed?

Link to comment
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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...