1

I was looking for a way to compile simple PHP script to cross platform executble file that can use the OS look and feel.

Do you know how this can be archieved?

boksiora
  • 1,168
  • 13
  • 16

3 Answers3

1

I am aware of no cross-platform way to do this in PHP. There are some bindings for specific OSes, but none that would work acceptably on more than one.

Additionally, PHP isn't really an appropriate language to write a desktop application anyway -- Python, Java, or .NET come to mind as better alternatives.

1

there IS a way, but actually, php is a script-language designed for the internet...

but if you want to check out, take a look @ http://gtk.php.net/

Also look here PHP GTK module in php.ini

Community
  • 1
  • 1
TheHe
  • 2,933
  • 18
  • 22
0

You can make an HTML + CSS page that replicates the OS, or distribute PHP with your application (much harder).

If your application is simple, you may be able to port it to C++, etc.

This all depends on what your program does.

uınbɐɥs
  • 7,236
  • 5
  • 26
  • 42
  • Thanks i guess i have to write this in some other language Too bad php is falling behind in this area, but its good for what is intended to do – boksiora Aug 26 '12 at 07:35