Yin Bin 4 months ago
parent
commit
6efd433c3d
2 changed files with 4 additions and 23 deletions
  1. 0 2
      .vscode/extensions.json
  2. 4 21
      README.md

+ 0 - 2
.vscode/extensions.json

@@ -24,8 +24,6 @@
         "mehedidracula.php-namespace-resolver",
         "aaron-bond.better-comments",
         "naumovs.color-highlight",
-        "openlens.vscode-laravel-log-viewer",
-        "DEVSENSE.phptools-vscode"
     ],
     "unwantedRecommendations": []
 }

+ 4 - 21
README.md

@@ -20,31 +20,14 @@
         ```php artisan serve```
 
 
-## 配置php xdebug
 
-php.ini中添加:
-```bash
-[xdebug]
-zend_extension=/www/server/php/82/lib/php/extensions/no-debug-non-zts-20220829/xdebug.so
-xdebug.mode=debug
-xdebug.start_with_request=yes
-xdebug.client_host=127.0.0.1
-xdebug.client_port=9003
-xdebug.idekey=VSCODE
-```
+## 设置linux 允许php以80端口启动
 
-luanch.json中添加:
 ```bash
-{
-    "name": "Listen for Xdebug",
-    "type": "php",
-    "request": "launch",
-    "port": 9003
-},
+sudo setcap 'cap_net_bind_service=+ep' /www/server/php/82/bin/php
 ```
 
-## 设置linux 允许php以80端口启动
-
+## 停止宝塔nginx自动启动
 ```bash
-sudo setcap 'cap_net_bind_service=+ep' /www/server/php/82/bin/php
+sudo systemctl disable nginx
 ```