title: Setting Up Zend Framework 2 On Live Apache Server
body: <p>I am finding it very difficult to understand how to install Zend Framework 2 on an account on my Apache server.</p>
  
  <p>I have been through the documentation at <a href="http://framework.zend.com/manual/2.2/en/user-guide/skeleton-application.html" rel="nofollow">http://framework.zend.com/manual/2.2/en/user-guide/skeleton-application.html</a> but it seems to talk about development on localhost environments and it is not very clear where commands should be run from (server or document roots). I have looked at YouTube videos but they seem to be from people on localhost or Windows servers.</p>
  
  <p>I have searched for other tutorials but with no luck and I have tried to play around with this guide but it doesn't seem to be very clear to me on how to set this up.</p>
  
  <p>For example:</p>
  
  <blockquote>
    <p>In order to build our application, we will start with the
    ZendSkeletonApplication available on github. Use Composer
    (<a href="http://getcomposer.org" rel="nofollow">http://getcomposer.org</a>) to create a new project from scratch with
    Zend Framework:</p>
    
    <p>php composer.phar create-project --repository-url="http://packages.zendframework.com" zendframework/skeleton-application path/to/install</p>
  </blockquote>
  
  <p>Am I supposed to run this command from my server root or from my document public_html folder or one up from here? This is the main area that is causing me confusion (knowing where to install/place files).</p>
  
  <p>In addition, where do I place the ZendSkeletonApplication files or is this done automatically and where do I install the composer (document root or server root)?</p>
  
  <p>If anyone can give me a clear tutorial on setting this up on a live server it would be much appreciated. </p>
  
  <p>There must be thousands of developers that have done this and there must be a guide out there somewhere, maybe the "good" old Penguin 2.0 update is now hiding it from my search queries...</p>