PHP

The multi PHP management and configuration interface

Server PHP Settings

Manage Multiple PHP Version on Server

This page will help you to  manage multiple php versions on your server.

PHP -> Server PHP Settings

To install multiple php versions , please use the setuphp tool

Default Server PHP

This option will help you setup a default PHP version on the server. 

Current Default PHP is the version of the  PHP used by all websites on the sever, if there is no specific version assigned to that website.

To change the default PHP  version on the server please select the following.

Nginx web server user PHP-FPM as handler and OpenLiteSpeed  web server have  its own lsphp handler too. 

The Apache web server support SuPHPCGI , FCGI and PHP-FPM handlers.

Available PHP Versions

 This page will list all available PHP versions and its its handlers. You can change the handler of a specific PHP version using he button Change Handler. You can also  set a  PHP as default   PHP using the button Make Default.

PHP Composer

The Eenos PHP always came with Composer. The default composer command will be using the default php . The command is as follows,

/usr/bin/composer
Version Specific Composer

If you need the  PHP Composer of a specific version you  will get it as follows, :

The composer of PHP 74 is :

/usr/bin/composer74

The composer of PHP 82 is :

/usr/bin/composer82

It is recommend to use the supported versions of PHP  by the  software developers. The discontinued php versions  are provide with security patches from third parties. 

 

 

 

 

 

Domain PHP Selector

The Multi PHP Selector of Eenos Control Panel

This open will help you to set a specific version of  PHP on a website or domain.

PHP -> Domain PHP Selector

This page will show all your websites in a table. It shows the  current  PHP version assigned to the website. 

The default php version means the default version of the server.

To change the PHP version of  the website  click the button Change PHP Version . This will pop up a box with all available PHP version.  You may select the suitable version and click the button Change, which will assign the new PHP version.

You can  Enable or Disable PHP-FPM handler for those websites too.

To enable PHP-FPM on a website click the button Enable FPM of the selected website.

To disable PHP-FPM on a website click the button Disable FPM of the selected website.

 

 

PHP INI Settings

To  Set the PHP.INI Values

This page will help you to setup the  default php.ini settings of every php versions installed in your server.

PHP -> PHP INI Settings

This  changes will be the updates on the server default php.ini values. These  values will be the default for every versions. 

Edit PHP INI

To modify the php.ini values of  a specific version of PHP click the button Edit PHP INI of the respective PHP version. This will open a form to make changes to some PHP.INI values ,

Please refer the documentation of PHP website itself to know more about the terms mentioned on this page. 

After making the changes click the button Save Settings which will save the  default PHP.ini settings.

Where this operation save the changed values ?

The changed values will be save to the file named 000_default.ini under the Eens php version installation folder.  For example the php.ini values of  Eenos PHP80 will be stored on the following file,

/opt/eenos/php80/etc/conf.d/000_default.ini

Reset To Default

This option will help you to revert backup all changes made to the default PHP.INI