title: how to install zend framework 2 on my shared hosting server
body: <p>I am installing zend framework 2 on my shared hosting server. So far I did the steps below.</p>
  
  <ol>
  <li><p>downloaded the ZF2 skeleton application and uploaded to my public_html. I have config, data, module, public, vendor, and init_autoloader.php in "public_html" folder on my server at this moment.</p></li>
  <li><p>downloaded the full package (ZendFramework-1.12.9) and copied "library" folder and placed it under public_html/vender/ZF2/ so that it would work in init_autoloader.php</p></li>
  <li><p>created .htaccess in which I entered below:</p>
  
  <p>RewriteEngine on<br>
  RewriteBase /<br>
  RewriteCond %{REQUEST_FILENAME} !-f<br>
  RewriteCond %{REQUEST_FILENAME} !-d<br>
  RewriteRule !.(js|ico|txt|gif|jpg|png|css)$ index.php</p></li>
  <li><p>created index.php and placed it under public_html/. The content is below:</p>
  
  <pre><code>&lt;?php 
  define('RUNNING_FROM_ROOT', true);
  include 'public/index.php';
  ?&gt;
  </code></pre></li>
  <li><p>I opened a browser and ran the url (pbm.pbmarketing.ca).</p></li>
  </ol>
  
  <p>I have got a fatal error message below:</p>
  
  <p>Fatal error: Class 'Zend\Loader\AutoloaderFactory' not found in /home/pbmarket/public_html/pbm/init_autoloader.php on line 44</p>
  
  <p>What step did I do wrong? Could you please help me with this issue?</p>