title: How to install joomla extension by command
body: <p>I am trying to install extension by command.</p>
  
  <p>In server already configure the <strong>PHP CLI</strong> and I'm using this code : </p>
  
  <pre><code>shell_exec('php-cli '.$SitefilePath.' --package='.$packagePath.'');
  </code></pre>
  
  <p>I have upload the file:</p>
  
  <p><a href="https://raw.githubusercontent.com/akeeba/vagrant/master/vagrant/files/joomla/install-joomla-extension.php" rel="nofollow noreferrer">https://raw.githubusercontent.com/akeeba/vagrant/master/vagrant/files/joomla/install-joomla-extension.php</a></p>
  
  <p>In the <strong>CLI</strong> folder and pass path as <code>SitefilePath</code> into command.
  but its not working.</p>
  
  <p>I have checked with all option : </p>
  
  <p><a href="http://www.php-cli.com/php-cli-options.shtml" rel="nofollow noreferrer">http://www.php-cli.com/php-cli-options.shtml</a></p>
  
  <p>Let me know how to get this work.</p>