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. |
| + | ===Usage=== |
| + | For ibay when you want to decide which version of php you want, you can use the panel, but if you want to set the php version for the whole server, you have to use the command line, first see the new db entries. |
| + | |
| + | After each modification don't forget to launch the event 'signal-event php-update' |
| + | |
| + | [root@sme9b3dev64 ~]# config show php54 |
| + | php54=configuration |
| + | AllowUrlFopen=Off #(On/Off) |
| + | MaxExecutionTime=30 |
| + | MaxFileUpload=20 |
| + | MaxInputTime=60 |
| + | MemoryLimit=128M |
| + | PhpModule=disabled #(enabled/disabled) |
| + | PostMaxSize=20M |
| + | UploadMaxFilesize=10M |
| + | |
| + | [root@sme9b3dev64 ~]# config show php55 |
| + | php55=configuration |
| + | AllowUrlFopen=Off #(On/Off) |
| + | MaxExecutionTime=30 |
| + | MaxFileUpload=20 |
| + | MaxInputTime=60 |
| + | MemoryLimit=128M |
| + | PhpModule=disabled #(enabled/disabled) |
| + | PostMaxSize=20M |
| + | UploadMaxFilesize=10M |
| + | |
| + | [root@sme9b3dev64 ~]# config show php56 |
| + | php56=configuration |
| + | AllowUrlFopen=Off #(On/Off) |
| + | MaxExecutionTime=30 |
| + | MaxFileUpload=20 |
| + | MaxInputTime=60 |
| + | MemoryLimit=128M |
| + | PhpModule=disabled #(enabled/disabled) |
| + | PostMaxSize=20M |
| + | UploadMaxFilesize=10M |
| + | |
| + | |
| + | in fact you have to choose which version you want to use in the phpmod of apache (only one version can be used), for example |
| + | |
| + | config setprop php56 PhpModule enabled |
| + | signal-event php-update |
| + | |
| + | Since just one version can be used with php-mod, the lower version is used....all disabled and it is the php default version which is used |
| + | |
| + | |
| + | |
| === Find other RPMS === | | === Find other RPMS === |
| {{Note box|Now when you want a specific rpm, you have to install it from the 'remi' repository. The name start by php54-php or php55-php or php56-php}} | | {{Note box|Now when you want a specific rpm, you have to install it from the 'remi' repository. The name start by php54-php or php55-php or php56-php}} |