I am installing zend framework 2 on my shared hosting server. So far I did the steps below.
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.
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
created .htaccess in which I entered below:
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule !.(js|ico|txt|gif|jpg|png|css)$ index.phpcreated index.php and placed it under public_html/. The content is below:
<?php define('RUNNING_FROM_ROOT', true); include 'public/index.php'; ?>
I opened a browser and ran the url (pbm.pbmarketing.ca).
I have got a fatal error message below:
Fatal error: Class 'Zend\Loader\AutoloaderFactory' not found in /home/pbmarket/public_html/pbm/init_autoloader.php on line 44
What step did I do wrong? Could you please help me with this issue?