title: Running script bad interpreter: Permission denied
body: <pre><code>root@ubuntu:/opt/sugarcrm-6.5.15/apps/sugarcrm/htdocs# chmod +x install_all_modules.sh
  root@ubuntu:/opt/sugarcrm-6.5.15/apps/sugarcrm/htdocs# ./install_all_modules.sh
  
  for dir in 'libeo/*/'
   ./install_module.php libeo/Agenda/
   ./install_all_modules.sh: ./install_module.php: /usr/bin/php: bad interpreter: Permission denied
  </code></pre>
  
  <p>What im doing wrong when running the script</p>