SC as desktop application ..

Hello,
Is there anyway to make SC working in my client computer as desktop application?
I tried to start Firefox in full screen mode but there are many problems regarding this method. I am looking for alternatives.

Thank

To develop the answer is no.

To Run your generated applications as a Desktop application, you can convert the exported to an exe file using a php to exe convertor. Just do a google search to php to exe.
may not work correctly, but testing it out is the answer.

Search, download, and try PHP-Desktop. Just modify it’s index.php file to redirect to your SC instance. Try if it fits your needs.

1 Like

Thank you so much madikonda,
Thank you so much Giu, PHP-Desktop is the best available option to me after comparing it with other available tools, I tried to edit the index to run my SC applications but i couldn’t make it work, i searched and found the following code inside setting.json

“web_server”: {
“listen_on”: [“127.0.0.1”, 0],
“www_directory”: “www”,
“index_files”: [“index.html”, “index.php”],
“cgi_interpreter”: “php/php-cgi.exe”,
“cgi_extensions”: [“php”],
“cgi_temp_dir”: “”,
“404_handler”: “/pretty-urls.php”,
“hide_files”: []

Anyone help me to make the best configuration to make this tool work?

Thanks

OK, the following settings works perfectly:

    "listen_on": ["127.0.0.1", 0],
    "www_directory": "C:/wamp/www/",
    "index_files": ["index.html", "index.php"],
    "cgi_interpreter": "C:/wamp/bin/php/php5.3.13/php-cgi.exe",
    "cgi_extensions": ["php"],
    "cgi_temp_dir": "",
    "404_handler": "/pretty-urls.php",
    "hide_files": []

Thank you so much Gui, SC is so beautiful inside PHP_Desktop and working without any problems :slight_smile:

Modification of index is to add a header() to redirect.

you can bundle your webapp integrated, just take into consideration database engine is not included and should be installed separately

Can you provide any help link/url to connect MySQL database with PHP-Desktop.

is not needed. Php desktop is just an embedded mongoose with PHP bundled. just install mysql (for exmaple) and point to your database in SC app as always