我需要让一个网站离线可用,我的想法是创建一个桌面应用程序,在连接到服务器时同步数据库,然后我遇到了 phpdesktop,只是尝试将它用于我全新的 Laravel 项目,但是由于某种原因,当我运行 exe 时,唯一显示的是一个空白的白页。问题是什么?该项目是全新的
根据网上教程编辑settings.json web_server:
{
"web_server": {
"listen_on": ["127.0.0.1", 0],
"www_directory": "www/public",
"index_files": ["index.php"],
"cgi_interpreter": "php/php-cgi.exe",
"cgi_extensions": ["php"],
"cgi_temp_dir": "",
"404_handler": "/index.php",
"hide_files": []
},
"chrome": {
"log_file": "debug.log",
"log_severity": "default",
"cache_path": "webcache",
"external_drag": true,
"external_navigation": true,
"reload_page_F5": true,
"devtools_F12": true,
"remote_debugging_port": 0,
"command_line_switches": {},
"enable_downloads": true,
"context_menu": {
"enable_menu": true,
"navigation": true,
"print": true,
"view_source": true,
"open_in_external_browser": true,
"devtools": true
}
}
}
任何帮助将不胜感激,提前致谢。
开满天机