Setting Default Version and Modules

Navigation:  PHP Selector > Configuration >

Setting Default Version and Modules

Previous pageReturn to chapter overviewNext page

Administrator can set default interpreter version and extensions for all users. All file operations are actually done by CageFS. CageFS takes settings from /etc/cl.selector/defaults.cfg. Currently the /etc/cl.selector/defaults.cfg is created and handled by CloudLinux PHP Selector scripts. It has the following format:

 

[global]
selector=enabled
 
[versions]
php=5.4
 
[php5.4]
modules=json,phar
 
[php5.3]
modules=json,zip,fileinfo