Compiling PHP to a Windows EXE

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Compiling PHP to a Windows EXE

Post 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 :(
malcolmboston
DevNet Resident
Posts: 1826
Joined: Tue Nov 18, 2003 1:09 pm
Location: Middlesbrough, UK

Post by malcolmboston »

Grim...
DevNet Resident
Posts: 1445
Joined: Tue May 18, 2004 5:32 am
Location: London, UK

Post 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?
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
LonelyProgrammer
Forum Contributor
Posts: 108
Joined: Sun Oct 12, 2003 7:10 am

Post 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
Last edited by LonelyProgrammer on Wed Feb 15, 2006 6:30 am, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

What are you referring to LonelyProgrammer?
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Post 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
Post Reply