Just now I have start with zend framework, I have succesfully install zend framework, I followed the quick start guide I am stuck with doc root.
Short description of what I have done
1) Install lamp and zend framework
2) cd /var/www
3) zf create project quickstart
4) cd quickstart/library/
5) ln -s /usr/share/php/libzend-framework-php/Zend .
6) vi /etc/apache2/apache2.conf
<VirtualHost *:80>
ServerName zend.gworks.mobi
DocumentRoot /var/www/quickstart/public
SetEnv APPLICATION_ENV "development"
<Directory /var/www/quickstart/public>
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
note: also I tried with /etc/apache2/sites-enabled/000-default.conf but no luck
7) service apache2 restart
But still my browser point /var/www/html/index.html not /var/www/quickstart/public/index.php, I'm out of ideas. can anyone help me what I miss?
Solution (update)
I did right. when I restart vagrant, document root problem got solved, I don't know why it is not work previosly. but it throws .htaccess: Invalid command 'RewriteEngine'
then I run this command sudo a2enmod rewrite && sudo service apache2 restart
now it shows zend framework welcome page