If you want to do a very quick installation of Zend framework then you can take a look the following steps.These steps will guide you to run your application in no time.
Installing Zend Framework:
Yes!!!!you are done.Browse the site by http://localhost.test.Enjoy :)
Installing Zend Framework:
sudo apt-get install zend-framework-bin
sudo apt-get install libzend-framework-php
zf create project test (in /var/www or whatever you want)
Symlink the zend library with your newly created project library:
cd /var/www/test
sudo ln -s /usr/share/php/libzend-framework-php/Zend/ library/
Creating virtual host :
sudo nano /etc/apache2/sites-available/localhost.test.confAdd the following lines in conf file :
Enabling the site :ServerName localhost.test DocumentRoot /var/www/test/public SetEnv APPLICATION_ENV "development" DirectoryIndex index.php AllowOverride All Order allow,deny Allow from all
sudo a2ensite localhost.test.conf
sudo a2enmod rewrite
BTW if you already installed MySQL as DB server for your application and want to browse phpmyadmin under your project directory then do the following:
sudo ln -s /usr/share/phpmyadmin/ phpmyadminNB : Replace the "test" with the appropriate project name, as you want.You can find the installation procedure of PHPUnit in my another post here.
Yes!!!!you are done.Browse the site by http://localhost.test.Enjoy :)
very helpful for the beginner in zf.
ReplyDeletethnx a lot for a nice post.
thanks..keep up the good work
ReplyDelete