title: AWS Elastic Beanstalk Installing IonCube or Zend Loader
body: <p>I have been trying to get one of these two loaders installed all evening without success. I have narrowed it down to creating a config file. I have put a .config file in a .ebextensions folder located in my root directory of my project, I'm not sure if it needs to be at the same level as my project. But in any case every time 403 error with the following message:</p>
  
  <p>"You don't have permission to access / on this server." If I remove the script the message goes away. I will also include a screenshot of where I can get to with out the .config file included and the reason why I need one of the loaders installed. Thanks in advance here is what my .config file looks like:</p>
  
  <pre><code># Install ioncube
  mkdir ion
  cd ion
  wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
  tar xzvf ioncube_loaders_lin_x86.tar.gz
  mv ioncube/ioncube_loader_lin_5.4.so /usr/lib/php/modules/ioncube_loader.so
  touch /etc/php.d/ioncube.ini
  echo "zend_extension=/usr/lib/php/modules/ioncube_loader.so" &gt;&gt; /etc/php.d/ioncube.ini
  cd ..
  rm -rf ion/ 
  </code></pre>
  
  <p>Which I got from here: <a href="https://forums.aws.amazon.com/thread.jspa?messageID=446182&amp;#446182" rel="nofollow noreferrer">https://forums.aws.amazon.com/thread.jspa?messageID=446182&amp;#446182</a></p>
  
  <p><img src="https://i.stack.imgur.com/nou1x.jpg" alt="Where I can get to without .config file"></p>