delete-php-directory

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/

  • virtualmin, php, drupal, domain, command line, delete, directory
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...