Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提示这个错误是为啥 #2

Open
wuqiyin opened this issue Jan 15, 2023 · 4 comments
Open

提示这个错误是为啥 #2

wuqiyin opened this issue Jan 15, 2023 · 4 comments

Comments

@wuqiyin
Copy link

wuqiyin commented Jan 15, 2023

golang.org/x/sys/windows.ERROR_PIPE_NOT_CONNECTED (233)

@pigochu
Copy link
Owner

pigochu commented Jan 16, 2023

這是微軟的錯誤碼
https://learn.microsoft.com/zh-tw/windows/win32/debug/system-error-codes--0-499-

233 應該是 管道的另一端沒有進程。

看起來是 PHP-CGI 沒有跑起來或 PHP-CGI 無法建立 pipe,所以 wphpfpm 無法連接

抱歉,因沒時間,這個專案很久沒維護,自己也沒在用了 , 可能要請你自己找找原因

@wuqiyin
Copy link
Author

wuqiyin commented Jan 16, 2023 via email

@pigochu
Copy link
Owner

pigochu commented Jan 19, 2023

我幫你試了下 windows 11 環境搭配 PHP 8.2 , 我的環境是可以的 ,以下是 DEBUG 訊息可以發現到有連接成功

2023-01-19 16:32:56 +0800 [debug]: Accept 127.0.0.1:62326 to 127.0.0.1:7000
2023-01-19 16:32:56 +0800 [debug]: Client connect 127.0.0.1:62326 to 127.0.0.1:7000
2023-01-19 16:32:56 +0800 [debug]: Connect to php-cgi(C:\PHP82\php-cgi.exe -> \\.\pipe\wphpfpm\wphpfpm.1674117174) successfully.

@pigochu
Copy link
Owner

pigochu commented Jan 19, 2023

如果是 php 自身問題,可能可以自己來建立 pipe 看看有沒有辦法建立成功,例如 :

php-cgi  -b \\.\pipe\wphpfpm\wphpfpm.123456

然後打開 power shell 執行以下命令,可以列出所有的 pipe , 看看有沒有真正建立起來

get-childitem \\.\pipe\

如果是 PHP 自己的問題,可能這邊就幫不上忙了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants