Remove any custom version of PHP for some directory If a specific version of PHP has been configured for some directory, it can be removed with this command. The required parameters are --domain followed by a domain name, and --dir followed by a full directory, for example: virtualmin delete-php-directory --domain example.com --dir /home/example/public_html/drupal Command line help virtualmin delete-php-directory --domain domain.name --dir directory|url-path
Remove any custom version of PHP for some directory#
If a specific version of PHP has been configured for some directory, it can be removed with this command. The required parameters are --domain followed by a domain name, and --dir followed by a full directory, for example:
virtualmin delete-php-directory --domain example.com --dir /home/example/public_html/drupal
Command line help#
virtualmin delete-php-directory --domain domain.name
--dir directory|url-path
Source: https://www.virtualmin.com/docs/development/api-programs/delete-php-directory/
