Skip to content

Tag: docker

How to refresh changes in swoole PHP

I created one folder with two files, one is index.php and one is Dockerfile and in terminal I run php index.php and it started on http://127.0.0.1:9501/, but when I change hello world in something else, it doesn’t show new change on that link.. it stays hello world. I am trying to learn Swoole and I don…

How to enable output_buffering on wordpress official image

I’m taking my first steps with Docker, specifically with wordpress official image, which is just amazing to use. However, after installing (via docker-compose as below) and checking phpinfo() it appears that output_buffering = 0. I spent the weekend trying to find the best way to expose, or bind to php.ini to…

reload `procmgr` in container?

So I have a docker container build with buildpack that runs the following command under PID 1 is it possible to reload the configs passed into procmgr somehow? Answer At the time of writing this, no. The procmgr cli that is used here is very basic. https://github.com/paketo-buildpacks/php-web/blob/main/cmd/pr…