-
-
Notifications
You must be signed in to change notification settings - Fork 577
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
Display friendly error message when spawning CGI process fails #127
Comments
hi! i'm having the same problem! |
I got this error with both the previous version and the v130 test release in Windows 11 24H2. The previous version did work up to a point in time. I suspect it could be related to an update of a .net framework runtime or similar? Any clues?
|
@timint Try launching php-cgi.exe process manually from command line and see if it throws any errors. |
Thank you for replying. |
@timint Are you sure your www/ and php/ folders are correct and settings are proper? Can you download default unmodified binaries once again and test them? From your logs I can see error code 193 for spawn_process which means "is not a valid win32 app" (googled), so something wrong is with the php-cgi.exe binary, or maybe path is wrong? |
I think I am on to something. The v130 download works when executed from But it doesn't when I copy it to |
Hmm looks like a bug. Please create an issue for that. PHP doesn't support paths with unicode characters [1], but spaces should work fine. |
There are only a-z chars in my path. The settings file have the relative path
The path to .exe does not wrap around quotes ". But maybe that's just the way the debug text is output? |
You are right, the quotes around path are missing. The source code in question is here: https://github.com/cztomczak/phpdesktop/blob/chrome130/mongoose.c#L1378 I am not sure how it worked earlier. I recall installing phpdesktop to program files which has a space and it worked fine in the past hmm. Please create an issue in the tracker. |
See https://github.com/cztomczak/phpdesktop/wiki/Knowledge-Base#error-500-internal-server-error-cannot-spawn-cgi-process-cdocuments-and-settingswwwindexphp-no-such-device-or-address
If you try to run phpdesktop with PHP 5.6 on Windows XP you will get error message like this:
This can be fixed similarly as in Issue #131 by using CefLoadHandler::OnLoadError.
See also Issue #74 that displays a friendly error message for other case.
Original issue reported on code.google.com by
[email protected]
on 7 Oct 2014 at 4:32The text was updated successfully, but these errors were encountered: