Reputation: 49
I have converted this php application into a windows application using php desktop. I have converted mysql db to sqlite and it works fine. However, after creating its setup using inno installer, the app returns a blank page and I cannot understand the message returned by the debug console(I have attached a screenshot).
Upvotes: 2
Views: 1479
Reputation: 49
I have figured out that I had to change some web_server settings in the settings.json file in my installer path so that they look like this
"web_server": {
"listen_on": ["127.0.0.1", 0],
"www_directory": "/public",
"index_files": ["index.html", "index.php"],
"cgi_interpreter": "/php-cgi.exe",
"cgi_extensions": ["php"],
"cgi_temp_dir": "",
"404_handler": "/public/index.php",
"hide_files": []
},
(remove the www from the paths).
This is because after compiling the project files and folders using inno installer, the www
folder is no longer there.
Thanks @Czarek and @Martin for answering my question.
Upvotes: 2