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

PHP inbuilt server does not exit #11

Open
g105b opened this Issue Jan 12, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@g105b

g105b commented Jan 12, 2018

Running PHP inbuilt server in PHPStorm through PhpOnWindows works great, but when the script ends, the server is left connected.

  1. Create a new PHP Storm project with single file: index.php
  2. Set up PhpOnWindows so that PHP CLI is using PhpOnWindows
  3. Create new Run Configuration of "In built server"
  4. Click the Play button: C:\php\PhpOnWindows\php.cmd -S localhost:8080 -t C:\Users\g105b\php-storm-test
  5. http://localhost:8080 shows index.php as expected
  6. Press the Stop button - Process finished with exit code 1
  7. http://localhost:8080 still shows index.php, and trying to do work on other projects is prevented until reboot.
@g105b

This comment has been minimized.

Show comment
Hide comment
@g105b

g105b Jan 12, 2018

This is possibly due to an open bug with WSL: Microsoft/WSL#1614

g105b commented Jan 12, 2018

This is possibly due to an open bug with WSL: Microsoft/WSL#1614

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