Create your first Desktop Application with PHP and PHP Desktop



rajesh Chalam Since Oct 20, 2015 6 Posts

Hi, I have done everything as you said step by step. I have downloaded php desktop chrome version. It is working when I click on "phpdesktop-chrome.exe" Later I converted to single executable file using inno set up with the same www files with out changing once and 2nd time only with index.php in the www folder. I have dragged once and loaded one by one in the another trail. I copied all the files and folders to the "other application files" Section. But after converting it to single exe file app by using Inno Set UP, I am getting the following error "php desktop chrome has stopped working" But it is working fine with out inno set up. I had closed php desktop while converting. Can you give me a solution for this.

Thank you, Chalam

rajesh Chalam Since Oct 20, 2015 6 Posts

hi, I am attaching the screenshot of the error here. Php Desktop App Error

Thank you, Simha.

rajesh Chalam Since Oct 20, 2015 6 Posts

hi, here is the screenshot of the error. unfortunately my attachments are not seen here. enter image description here

rajesh Chalam Since Oct 20, 2015 6 Posts

@Bhavesh Hi, I followed Rinas Muhammed's instructions at page 1. my problem is solved. it is working for me now.

I am pasting it here for your reference


@zooboole here is the fix i found: instead of drag and drop files to Innosetup, click 'Add folder' option and select root folder ( i.e, our MyApp folder itself - also confirm the dialog for including sub folders ).

drap and drop ( i.e, selecting folders and files inside MyApp folder ) is the trouble maker. while we install our .exe application, folder structure inside the MyApp is lost compared to our original version.

I would like to checkout your sample project hpm. let us know once you fix the setup file and update the link :)

rajesh Chalam Since Oct 20, 2015 6 Posts

Hi, Can I create desktop application for Mac OS using the PHP Desktop..? Please suggest.

Thank you, Simha.

Siddu Loni Since Oct 23, 2015 2 Posts

@Zooboole, i seen htm application and also seen all the conmment in this page ..! but i have developed web application of "Transportation Management System" using WampServer so i created database in my wamp server So, i am not getting where to copy and paste my DATABASE in PhpDesktop while running my application, so i gone through all the above instructions, but i am not getting about DATABASE please help me ...

Siddu Loni Since Oct 23, 2015 2 Posts

not getting where to create my database...

Mike Nuru Since Nov 02, 2015 5 Posts

This is a great discovery. I have always wonder how I can create desktop apps with php without getting to learn some difficult languages again. zooboole thanks a million! I have just one challenge with your tutorial. How can I make the program shortcut to that of my own logo, instead of the little blue elephant icon that appear as program shortcut? I don't want my client to be changing the shortcut icon using windows method of changing shortcuts. Pls help me resolve this.

Joel Adanoritsewor Since Nov 02, 2015 1 Posts

Hello, I downloaded the hpm project and it ran quite well; the little problem I am having is that I cannot connect sqlite database to my project. I need help please.

zooboole Since Jan 22, 2015 112 Posts

The hpm applicaion uses sqlite, check in its source code it could help.



b d Since Nov 12, 2015 1 Posts

What are the credentials to login to HPM?

Ali Tabish Since Nov 14, 2015 1 Posts

Dear Sir Thanks for this nice tutorial. There is a problem, i had created an application with your guideline, creation of setup.exe and install that setup successfully. But when i open the application it doesn't open. and there is not even any error message coming . by both the process i run that application (Run as Administrator As well as double click) Please help me!!

zooboole Since Jan 22, 2015 112 Posts

The credentials should be admin for username and admin for password

Cyril Okafor Since Nov 26, 2015 2 Posts

How do we include the database ?

Cyril Okafor Since Nov 26, 2015 2 Posts

Hello, I followed all the step accurately and It compiled successfully, but refuses to start up the application. It give this error "PHP Desktop Chrome has stopped working". I have tried it twice now and it gives the same error. Please, how can it be fixed. Thanks so much