Page 1 of 1

Compiling PHP to a Windows EXE

Posted: Mon Feb 13, 2006 6:40 am
by Grim...
I'm sure there's a product that will let me use a php script on a machine without PHP installed - anyone know what it is?
Google search has let me right down :(

Posted: Mon Feb 13, 2006 7:25 am
by malcolmboston

Posted: Mon Feb 13, 2006 9:16 am
by Grim...
I got that one and I couldn't get it to work - the doc's are a bit poor.

Does the compiled file have to have a specific file extension?

Posted: Mon Feb 13, 2006 10:37 am
by pickle

Posted: Mon Feb 13, 2006 10:46 am
by feyd
Although not compiling to an exe, you could hook the (PHP 5) ActiveScript DLL, which would allow you to execute php from within your application.

Posted: Tue Feb 14, 2006 10:35 pm
by LonelyProgrammer
That sounds intriguing.

But what aboutMySQL support? Is there a way to 'reroute' PHP so that it uses Access or something else that most Windows user would have?

Edit: Fixed typo

Posted: Tue Feb 14, 2006 11:02 pm
by feyd
What are you referring to LonelyProgrammer?

Posted: Tue Feb 14, 2006 11:13 pm
by josh
I think he means the database. PHP has support for dbf flatfile databases, although you loose out on a lot of functions that mysql provides