How to add own comments to PHP versions in PHP-Selector

CloudLInux provides an opportunity to add custom comments to PHP versions, chosen with PHP-Selector by users. Usually they are used to notify users about outdated or recommended versions.

Upon forming a list of available versions selectorctl searches for /opt/alt/phpXX/name_modifier file to append it as a comment to a version.

To add your own comments – create a file for desired PHP version and write a text inside:

Do the same for other PHP versions. The changes are applied instantly.

Make sure to add just a few words not to brake dropdown list.

The text will be shown in brackets in the console:

And in control panels supporting PHP-Selector:

Example with cPanel:


Example with DirectAdmin:



Leave a Reply

Your email address will not be published. Required fields are marked *