Title: In Windows Not Working · Issue #11 · youngj/httpserver · GitHub
Open Graph Title: In Windows Not Working · Issue #11 · youngj/httpserver
X Title: In Windows Not Working · Issue #11 · youngj/httpserver
Description: Hi, I tried it on windows. In example_server.php i set following settings. But when going to browser 127.0.0.1:8003, am getting Internal Server Error: php-cgi\php-cgi.exe was not found error. function __construct() { parent::__construct(...
Open Graph Description: Hi, I tried it on windows. In example_server.php i set following settings. But when going to browser 127.0.0.1:8003, am getting Internal Server Error: php-cgi\php-cgi.exe was not found error. funct...
X Description: Hi, I tried it on windows. In example_server.php i set following settings. But when going to browser 127.0.0.1:8003, am getting Internal Server Error: php-cgi\php-cgi.exe was not found error. funct...
Opengraph URL: https://github.com/youngj/httpserver/issues/11
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"In Windows Not Working","articleBody":"Hi,\r\nI tried it on windows. In example_server.php i set following settings.\r\nBut when going to browser 127.0.0.1:8003, am getting Internal Server Error: php-cgi\\php-cgi.exe was not found error.\r\n`function __construct()\r\n {\r\n parent::__construct(array(\r\n 'addr' =\u003e \"127.0.0.1\",\r\n 'port' =\u003e 8003,\r\n 'php_cgi' =\u003e \"php-cgi\\php-cgi.exe\",\r\n ));\r\n }`\r\n\r\nIn httpserver i changed `$cgi_stream = fopen(\"cgi://{$this-\u003ephp_cgi}\", 'rb', false, $context);` to `$cgi_stream = fopen(\"$this-\u003ephp_cgi\", 'rb', false, $context);` and am getting output somthing like binary data.\r\n\r\nCan you please advice me how to setup it. Am using PHP 5.6 \u0026 win10","author":{"url":"https://github.com/ArunPatal","@type":"Person","name":"ArunPatal"},"datePublished":"2020-07-26T13:51:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/11/httpserver/issues/11"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ff1cbac4-2455-6e0c-a7e4-cd6a36e82a42 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B8CA:99B47:A61C5A7:D747B8F:6976A46E |
| html-safe-nonce | c47010016d5ecec6ac71feaf0d8e5eb4cbea0c49d4f8ce35a7ed7a433d4bc315 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOENBOjk5QjQ3OkE2MUM1QTc6RDc0N0I4Rjo2OTc2QTQ2RSIsInZpc2l0b3JfaWQiOiIyOTg0MTExOTI1NzY4OTIyMjIyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 69247a8f888554f272ea74abda18e55090bbd64de33d2a1b7baf295923a5fa2b |
| hovercard-subject-tag | issue:665783697 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/youngj/httpserver/11/issue_layout |
| twitter:image | https://opengraph.githubassets.com/13c29ef22bfd6e72def5140288af814c5835a8205c83e4a32c69771f081e0f7b/youngj/httpserver/issues/11 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/13c29ef22bfd6e72def5140288af814c5835a8205c83e4a32c69771f081e0f7b/youngj/httpserver/issues/11 |
| og:image:alt | Hi, I tried it on windows. In example_server.php i set following settings. But when going to browser 127.0.0.1:8003, am getting Internal Server Error: php-cgi\php-cgi.exe was not found error. funct... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ArunPatal |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| turbo-cache-control | no-preview |
| go-import | github.com/youngj/httpserver git https://github.com/youngj/httpserver.git |
| octolytics-dimension-user_id | 343100 |
| octolytics-dimension-user_login | youngj |
| octolytics-dimension-repository_id | 1917883 |
| octolytics-dimension-repository_nwo | youngj/httpserver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1917883 |
| octolytics-dimension-repository_network_root_nwo | youngj/httpserver |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width