dskanth Posted July 8, 2010 Share Posted July 8, 2010 Hi all, i have developed a php-mysql web application, which is a school based project. My client wants the this application to be converted into a .exe file such that it can be installed on his desktop and use it. How can the php website can be converted to a .exe file and can it be run without the need of a database/server software ? Please advice. Quote Link to comment https://forums.phpfreaks.com/topic/207125-convert-php-site-to-exe/ Share on other sites More sharing options...
trq Posted July 8, 2010 Share Posted July 8, 2010 There are compilers around for php but you need to program with them specifically in mind. I'm not sure you can just compile a web application (server - client) into an exe and expect it to work. Its a different approach all together. Quote Link to comment https://forums.phpfreaks.com/topic/207125-convert-php-site-to-exe/#findComment-1082962 Share on other sites More sharing options...
Mchl Posted July 8, 2010 Share Posted July 8, 2010 Also if you wish to distribute MySQL embedded into your application you need to buy a commercial license (or distribute your application on open source license - so why bother compiling it?) Quote Link to comment https://forums.phpfreaks.com/topic/207125-convert-php-site-to-exe/#findComment-1082971 Share on other sites More sharing options...
dskanth Posted July 9, 2010 Author Share Posted July 9, 2010 Hi, thanks for your replies. Here, iam also planning to use sQLite for developing the application, instead of MySQL. But what my intention is that i want my application to be converted into a .exe file, such that the application can be run wven without the web browser. I heard about the Bambalam extension, but not sure about it. Please advise.... Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/207125-convert-php-site-to-exe/#findComment-1083500 Share on other sites More sharing options...
Goat Posted July 9, 2010 Share Posted July 9, 2010 Well you could use postgre SQL, that's free, I think. You could bundle apache, php and postgre and install it all on client's server. regards, Goat Quote Link to comment https://forums.phpfreaks.com/topic/207125-convert-php-site-to-exe/#findComment-1083509 Share on other sites More sharing options...
Mchl Posted July 9, 2010 Share Posted July 9, 2010 He could do this with MySQL as well. The point is he wants to have it all as a standalone app. IMHO the best option would be to rewrite application in some language that's better suited for desktop applications like Java for example. Quote Link to comment https://forums.phpfreaks.com/topic/207125-convert-php-site-to-exe/#findComment-1083514 Share on other sites More sharing options...
dskanth Posted July 9, 2010 Author Share Posted July 9, 2010 Yes, i want it all as a stand alone app. Iam considering few options like PHP Dock _http://www.nusphere.com/products/phpdock.htm and PHP GTK http://www.mithril.ca/code/php-gtk+/mp3_gtk/ and Bambalam extension http://www.bambalam.se/bamcompile/ Dont know which one to go ahead with.... Quote Link to comment https://forums.phpfreaks.com/topic/207125-convert-php-site-to-exe/#findComment-1083565 Share on other sites More sharing options...
trq Posted July 10, 2010 Share Posted July 10, 2010 GTK isn't a compiler so that should remove that from the list. Quote Link to comment https://forums.phpfreaks.com/topic/207125-convert-php-site-to-exe/#findComment-1083877 Share on other sites More sharing options...
dskanth Posted July 10, 2010 Author Share Posted July 10, 2010 Yes, GTK is not a compiler. But then i need to develop the application from scratch using it. So that option can be removed. Quote Link to comment https://forums.phpfreaks.com/topic/207125-convert-php-site-to-exe/#findComment-1083959 Share on other sites More sharing options...
dskanth Posted July 16, 2010 Author Share Posted July 16, 2010 Hi, i came across this tool, and hope it satisfies my purpose. Server2Go is a Webserver that runs out of the box without any installation and on write protected media. This means that web applications based on Server2Go can be used directly from cdrom, a usb stick or from any folder on a hard disk without the hassle of configuring Apache, PHP or MySQL. Server2Go allows you to create a standalone working web site or PHP application on a CD-ROM. Quote Link to comment https://forums.phpfreaks.com/topic/207125-convert-php-site-to-exe/#findComment-1086885 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.