Skip to content

In Windows Not Working #11

Description

@ArunPatal

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(array( 'addr' => "127.0.0.1", 'port' => 8003, 'php_cgi' => "php-cgi\php-cgi.exe", )); }

In httpserver i changed $cgi_stream = fopen("cgi://{$this->php_cgi}", 'rb', false, $context); to $cgi_stream = fopen("$this->php_cgi", 'rb', false, $context); and am getting output somthing like binary data.

Can you please advice me how to setup it. Am using PHP 5.6 & win10

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions