我需要讓一個網站離線可用,我的想法是創建一個桌面應用程序,在連接到服務器時同步數據庫,然后我遇到了 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 } }}任何幫助將不勝感激,提前致謝。
1 回答

開滿天機
TA貢獻1786條經驗 獲得超13個贊
只需將 php 從 7.1 更新到 7.2.19 即可。我發現這個 repo https://github.com/laravelarticle/laravel-desktop并注意到這適用于更高的 php。
- 1 回答
- 0 關注
- 121 瀏覽
添加回答
舉報
0/150
提交
取消