- Plesk Obsidian for Linux
What are .php-ini and .php-version files at the domain directory?
.php-version are added in order to simplify the work with domain PHP handler from the console. It allows usage of different features like composer, cron tasks, etc. without specifying the full PHP path. This feature was implemented Plesk 18.0.44.
To disable the feature and bring back how the console worked before, add the following lines to the
panel.inifile (How to edit Plesk panel.ini) :
[php] phpenv = off
Note: The feature works for Plesk PHP handlers only. It does not work for custom PHP handlers and CloudLinux with CageFS.