title: PHP-CLI not found
body: <p>After I tried for hours to find the good path for PHP-CLI, i finally found it. But my proud was soon gone again.</p>
  
  <p>Still i got the following error: </p>
  
  <p>The following requirements were not met. As a result video uploads have been disabled.</p>
  
  <ul>
  <li>Unable to locate path to PHP-CLI</li>
  </ul>
  
  <p>I have tried much different paths</p>
  
  <ul>
  <li>bin/php</li>
  <li>usr/local/lib</li>
  <li>usr/local/lib/php</li>
  <li>usr/local/bin/php (this is the good one I thought).</li>
  </ul>
  
  <p>Still getting the same error as above. Whats happening? My server is not running in Safe Mode and my <code>exec()</code> are enabled via the php.ini file.</p>
  
  <p>Please help me..</p>
  
  <p><strong>Edit:</strong></p>
  
  <p><em>Paul</em></p>
  
  <blockquote>
    <p>Q: Have you tried any "fully qualified paths", e.g. "/bin/php" (not
    just "bin/php")?</p>
  </blockquote>
  
  <p>A: I have tried both solutions, no result.</p>
  
  <blockquote>
    <p>Q: Are you sure php-cli is installed on your system (it's typically a
    seperate package from the Apache PHP plug-in)? EXAMPLE: apt-get
    install php5-common libapache2-mod-php5 php5-cli.</p>
  </blockquote>
  
  <p>A: I tried this in the SSH of my server, its a CentOS server so he didn't found the comment</p>
  
  <p><em>@Peter:</em></p>
  
  <blockquote>
    <p>If you installed PHP through your OS package manager, the path would
    probably be /usr/bin/php, which appears to be the only one you didn't
    try</p>
  </blockquote>
  
  <p>I tried that one now, i didn't help, still the same error:</p>
  
  <p><img src="https://i.stack.imgur.com/mhmUM.png" alt="PHP Cli Error"></p>
  
  <p><strong>Edit2</strong></p>
  
  <p><em>@Dev-null</em></p>
  
  <blockquote>
    <p>You have found and what? Just knowing where >is located will not fix it, have you changed some >code or environment variable PATH to make it </p>
  </blockquote>
  
  <p>A: its an input field where i need to put the path in. I haven't changed any code, because PHP version 5.3.17 (CLI) installed on my CentOS server. So no need to change some code just for the path, right?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>My PHP info, PHP 5.3.17 (CLI) Check the image below..</p>
  
  <p><img src="https://i.stack.imgur.com/SYBNo.png" alt="PHP Info"></p>
  
  <p><strong>Edit</strong></p>
  
  <p>When I do <code>rpm -q php-cli</code> I get <code>PHP-CLI not installed</code> and when I want to install i get <code>No package php-cli available</code>. See image below.</p>
  
  <p><img src="https://i.stack.imgur.com/awcWo.png" alt="PHP CLI 2"></p>
  
  <p><strong>Edit</strong></p>
  
  <p>Result of <code>/bin/php -v</code> below.</p>
  
  <p><img src="https://i.stack.imgur.com/tDa0Y.png" alt="PHP CLI -v Result"></p>