We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I'm working on a symfony app running in a docker container (see https://github.com/thecodingmachine/docker-images-php) started like this
services: php: command: php bin/console server:run 0.0.0.0:8000 ports: - "8000:8000" image: thecodingmachine/php:7.2-v1-cli volumes: - .:/usr/src/app depends_on: - db
I've installed psysh inside the container and then added \Psy\debug(get_defined_vars(), $this); or eval(\Psy\sh()); in a controller.
\Psy\debug(get_defined_vars(), $this);
eval(\Psy\sh());
But nothing happens in the console where I've started psysh (docker-compose exec php psysh)
docker-compose exec php psysh
Is there something I'm doing wrong ?
The text was updated successfully, but these errors were encountered:
PsySH doesn't support web servers, see #121
Sorry, something went wrong.
Oh, I thought PHP's built-in web server was the exception.
It works with PHP’s built in webserver, but you have to be running it as a foreground process in your interactive shell.
No branches or pull requests
Hi,
I'm working on a symfony app running in a docker container (see https://github.com/thecodingmachine/docker-images-php) started like this
I've installed psysh inside the container and then added
\Psy\debug(get_defined_vars(), $this);
oreval(\Psy\sh());
in a controller.But nothing happens in the console where I've started psysh (
docker-compose exec php psysh
)Is there something I'm doing wrong ?
The text was updated successfully, but these errors were encountered: