ngx-php icon indicating copy to clipboard operation
ngx-php copied to clipboard

Ngx-PHP7 Compilation improvements and Prebuilt modules

Open soulteary opened this issue 4 years ago • 2 comments

I think this project is a very good project, so that Nginx can do a lot more.

However, it may be too long for the project to be submitted for testing by anyone other than the author, and the default project cannot be built.

For this I submitted a small improvement: https://github.com/rryqszq4/ngx_php7/pull/130

In order to use it more efficiently, I pre-built it: https://github.com/nginx-with-docker/ngx_http_php_module And adjusted the build image and script, so that this module can be built locally with each newly launched version of nginx.

If the author thinks this method will be better, I can submit a PR with improved build image at a later date, like this: https://github.com/nginx-with-docker/ngx_http_php_module/blob/main/docker/master/Dockerfile.alpine

I believe this can greatly reduce the compilation problems encountered by various users. @rryqszq4

The image based on the latest code base can be downloaded from here:

docker pull soulteary/prebuilt-nginx-modules:ngx-1.21.1-php-master-alpine

If anyone has a need, I will add a pre-built image of the Debian version.

soulteary avatar Aug 12 '21 15:08 soulteary

Pre built can be untrusted, what if add a check of version then autorecompile if needed?

jobs-git avatar Jun 22 '22 18:06 jobs-git

No one has time to persecute you, especially based on open source code, you can always recreate the pre-built products yourself.

soulteary avatar Jun 22 '22 19:06 soulteary