https://bugs.contribs.org/show_bug.cgi?id=10093

--- Comment #6 from Stephane de Labrusse <[email protected]> ---
(In reply to Stefano Zamboni from comment #4)
> I think that Steph could enlight us

I did recently a module,  based on php-fpm for nethserver, with php{56,70,71}.
The contribs for smeserver is cgi based, a bit slower than php-fpm. I stay with
remi for the repository, but this time on remi-safe, enabled by default because
I have no risk to upgrade a rpm with a higher not wanted version.

Why remi, instead of centos scl/redhat, for the choice of rpms.....a lot much.

basically for php-fpm you need 

* start each php service (one per php version on a different port)

* create the templates of  php.ini for each php version
it is important because apache is not the handler, you cannot change the php
settings by the php_admin_values

* do a reverse proxy in the ibay configuration on the specific port
<FilesMatch \.php\$>
  SetHandler "proxy:fcgi://127.0.0.1:$TCPPort"
</FilesMatch>

https://github.com/stephdl/nethserver-php-scl/tree/ns7

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to