Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
php-scl [2019/06/22 12:59]
Stephane de Labrusse [Usage]
php-scl [2019/09/14 10:06] (current)
Stephane de Labrusse [Adjust php-fpm pool]
Line 151: Line 151:
 signal-event nethserver-php-scl-update signal-event nethserver-php-scl-update
 </​file>​ </​file>​
 +
 +
 +=====Adjust php-fpm pool====
 +
 +with ns7 you can adjust directly some parameters by creating a file, for example if  you have created a virtualhost called wordpress, then you will find all the configuration at `/​etc/​opt/​remi/​php73/​php-fpm.d/​php-fpm.wordpress.conf`
 +
 +I propose you create a file `/​etc/​opt/​remi/​php73/​php-fpm.d/​z_php-fpm.wordpress.conf`,​ you can put here all your settings
 +
 +<​file>​
 +[wordpress]
 +php_admin_value[max_input_vars] = YourValue
 +</​file>​
 +
 +then restart the service
 +
 +<​file>​
 +systemctl restart php73-php-fpm
 +</​file>​
 +
 +<WRAP center round important 60%>
 +Keep in mind to modify the path of the file if you change the version of php
 +`/​etc/​opt/​remi/​php73/​php-fpm.d/​z_php-fpm.wordpress.conf` to `/​etc/​opt/​remi/​php74/​php-fpm.d/​z_php-fpm.wordpress.conf`
 +</​WRAP>​
 +
 +
  
 ===== Use the php Cli===== ===== Use the php Cli=====