Changes

Jump to navigation Jump to search
Line 47: Line 47:     
Go to the php-scl panel on Server Manager and activate the version of php you desire for each Ibay, or if you need for the whole server.
 
Go to the php-scl panel on Server Manager and activate the version of php you desire for each Ibay, or if you need for the whole server.
 +
===Limitation===
 +
 +
If you use scl_php56 or scl_php54 or scl_php55) for the whole server, You can add also specific values (MemoryLimit,UpMaxFileSize,PostMaxSize,MaxExecTime,AllowUrlfOpen) per Ibay (either by db command or by the contrib smeserver-webhosting) because apache is the handler of php.
 +
 +
If you use php56,php55,php54 per ibay, then you use php with a cgi application and you cannot add specific setting to apache with php_admin_flag or php_admin_value. Then if you want to add a specific setting like above you must use it for the whole php applications by the command you can find in [[PHP_Software_Collections#Usage]]
 +
 +
It is the limitation of php-scl
 +
 +
In short
 +
 +
* PHP SCL for the whole server -> all settings can be set per Ibay normally with db or with smeserver-webhosting
 +
* PHP SCL per Ibay -> all settings must be set in each php{54,55,56} properties like in [[PHP_Software_Collections#Usage]]
 
===Usage===
 
===Usage===
 
When you want to change the version of php, you can use the panel (Php-Scl versions), either for changing the php version for an Ibay or for the whole server.  
 
When you want to change the version of php, you can use the panel (Php-Scl versions), either for changing the php version for an Ibay or for the whole server.  

Navigation menu