February 2016
Intermediate to advanced
492 pages
11h 23m
English
We have already come across the CLI during the installation chapter when we also dealt with upgrades. However, the CLI has a few more tricks up its sleeve, which we will deal with next.
First of all let us look at the way you call any CLI scripts, which are either located in admin/cli/* or in the sub-folder of plugins that offer a CLI option—for example, auth/ldap/cli. To call a CLI script, follow the following notation:
sudo –u <apache_user> /usr/bin/php admin/cli/<script>.php
Your <apache_user> is usually www-data or apache. Every CLI script has a --help parameter that offers additional information and also describes calling options. The following is a list of some useful CLI commands. For all others commands, have ...
Read now
Unlock full access