Hello Friends,I m a web developer and i always use PHP as web scripting server side language but before some days when i found that now it is possible to make EXE in PHP means now you can make Executable or make Desktop application by PHP. Isn’t it Great?
There are many complier available on web by which you can create EXE in PHP.
This program runs through dos and windows only,I don’t know About Linux.If you want to make Executable in PHP then firstly download PHP EXE Compiler/Embedder from Here.Try to explain you some more things about this.
1. First Download zip from Here.
2. Now unzip it and open Command prompt and then go to its directory. 3. Start > run… ‘cmd’
4. Use the “cd..” command to change directory. 5. Place PHP script to be compiled next to bamcompile.exe (same directory)
6. in the cmd prompt, at that directory, type:
ex: “bamcompile test.php”
variations:
“bamcompile -c test.php” gives compression.
-e:something.dll allows a DLL to be embedded
Readymade examples are given in Zipped files which you have downloaded,just try it out.
If you like my posts then please comment on it and if you want to get updates with my posts and want to share your knowledge or write your posts on HackingEthics.com then you can Register Here.




hi,
i am arvind kumar sen, i am a php developer i have started work in php before 4 month and i am interested to learn php desktop application.
please guide me how i can learn to it, and i used and see your exe in php realy it is very interesting. thanks for it
Hello Arvind,
Firstly Thanks for your comment.
Now i want to tell you one thing that i also dnt have any experience of desktop application in php, But i have found one new complier for PHP called Roadsend complier so try to search about it and i will also try to post new info about desktop application in PHP.
Thanks.
Keep Commenting. :)
Plz guide me…
I want to create a php exe application.
plz tell me can i create a file having code like this…..
Untitled Document
<?php
$str=”this is first try”;
echo “$str”;
print($str);
?>
The best way to build a PHP desktop application is by using PHP-GTK. There is alot of documentation and free examples floating around. It’s also easy to install using GNOPE.
Google those two and everything you want will be there.
wowow.. that is great !
we must try it :)
thanks a lot
Asslalaamu’alaykum..
Hi, anyone know how work as server if PHP compiled to exe ?
Just try to speak English.. :-D :-D
Wassalaamu’alaykum..
sir,
Thanks for your information. Please tell me whether we can convert an entire PHP project to a desktop application…
Please help..
[...] aquí. Comparte esta [...]
Give a try at http://www.zzee.com PhpExe, it converts without change, web applications to desktop applications.
Yes, I agree with Rotega, its what I use. No messing, just a few clicks and you are done – it takes the worry out of it and allows you to configure EVERYTHING. PHP EXE from zzee is where it is at with compiling to PHP2EXE.
Peace
Hi guys
is there anyway to create exe file in php without having any third party tool.
No, there are one or two rare converters out there, but none of them work very well. Your best bet is to use PHP Gnope, .phpw files launch like normal .exe files.
Any client you want to use PHP apps on will require an install of a third party interpreter.
hii it is vey nice i want to know how to communicte with data dase using GTK