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/03/04 05:38]
HF
php-scl [2019/06/22 12:59] (current)
Stephane de Labrusse [Usage]
Line 60: Line 60:
 the settings are in two places the settings are in two places
  
-  * in the Shared Folder (NS6) or in the Virtualhost (NS7) panel+  * in the Shared Folder (NS6)
  
 Here you can decide which version you will use for the Ibay/​virtualhost (default means the php version of Apache). Since we use a CGI script to handle the php version, you won't be able to trigger php settings with the module nethserver-phpsettings,​ you have to adjust settings by the relevant php.ini. I wanted to code something cool so all settings are not db command based....I bring a panel...you must go to the 'Php Settings'​ in the configuration panel. Here you can decide which version you will use for the Ibay/​virtualhost (default means the php version of Apache). Since we use a CGI script to handle the php version, you won't be able to trigger php settings with the module nethserver-phpsettings,​ you have to adjust settings by the relevant php.ini. I wanted to code something cool so all settings are not db command based....I bring a panel...you must go to the 'Php Settings'​ in the configuration panel.
  
-  ​* In the Php Settings Panel+* in the Shared Folder (NS7) 
 + 
 +please upgrade to NS7, here now you run a dedicated instance of phpscl for each Vhost and obviously we can set specific values to this vhost 
 + 
 +  ​* In the Php Settings Panel (NS6)
  
 Here you can decide which version you want to use for the whole server. When Apache is the Handler of Php then you can trigger php settings with my other module nethserver-phpsettings. In other word if you want to use the module nethserver-phpsettings and you need a specific version of Php, you must use that version for the whole Server. Of course you can go back to the default version if something goes wrong with an old web application. Here you can decide which version you want to use for the whole server. When Apache is the Handler of Php then you can trigger php settings with my other module nethserver-phpsettings. In other word if you want to use the module nethserver-phpsettings and you need a specific version of Php, you must use that version for the whole Server. Of course you can go back to the default version if something goes wrong with an old web application.
 +
 +  * In the Php Settings Panel (NS7)
 +
 +Here you can decide which version you want to use for the default /​var/​www/​html. Of course you can go back to the default version if something goes wrong with an old web application.
  
 In other parts of the Panel you can adjust php settings to all different versions of Php, even the Php53 default centos version. In other parts of the Panel you can adjust php settings to all different versions of Php, even the Php53 default centos version.