Changes

From SME Server
Jump to navigationJump to search
506 bytes added ,  10:11, 18 August 2022
Line 194: Line 194:     
====php.ini====
 
====php.ini====
 
+
{{Note box|This is only valid for SME 9 and before. Starting SME10, php-fpm pools are in use. And default php pool is php74-IBAYNAME. php74 will use its own php.ini in /etc/opt/remi/php74/php.ini but thoses values are overriden by the php-fpm.d/ibays.conf which is also templates. and the service to restart would be php74-php-fpm. If you set to use another version of php, then you need to change 74 to the other version eg 80 with the exception of Core version for 54 in SME10 is defined by service php-fpm.}}
 
Examine the template fragments in /etc/e-smith/templates/etc/php.ini and determine which fragment you wish to change.
 
Examine the template fragments in /etc/e-smith/templates/etc/php.ini and determine which fragment you wish to change.
 
Let's say you want to modify a value that is in the 40DataHandling fragment
 
Let's say you want to modify a value that is in the 40DataHandling fragment
Line 209: Line 209:  
  expand template /etc/php.ini
 
  expand template /etc/php.ini
 
<tabs container style="display: inline-block;"><tab name="For SME 10">
 
<tabs container style="display: inline-block;"><tab name="For SME 10">
  systemctl status httpd-e-smith
+
  systemctl restart php-fpm
 
</tab><tab name="For SME 9 and before">
 
</tab><tab name="For SME 9 and before">
 
  sv t /service/httpd-e-smith
 
  sv t /service/httpd-e-smith
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,230

edits

Navigation menu