wodby / php

Generic PHP docker container images
MIT License
152 stars 103 forks source link

How to restart apache or nginx from php container? #137

Open jibran opened 3 years ago

jibran commented 3 years ago

As per the documentation Apache and Nginx can be restarted but php image doesn't have httpd or nginx so how do we restart apache or nginx from php container?

I'm trying to use the image on CircleCI to setup apache or nginx correctly, I should be able to restart it once the docroot is setup. PR is at https://github.com/jibran/dynamic_entity_reference/pull/6 and these are all the test runs https://app.circleci.com/pipelines/github/jibran/dynamic_entity_reference?branch=d4d-switch.