Today i am exploring heavily in linux and deeply fall in love with this OS, and believe command line is friend.
well so this is how i install ZF and PHPUnit test,
sudo apt-get install zend-framework
to confirm about installation with version check,
zf show version
it will show the current version of zf. now we need to install the PHPUnit test to run zf command without any error,
sudo apt-get install phpunit
sudo pear upgrade pear
sudo pear channel-discover pear.phpunit.de
sudo pear channel-discover components.ez.no
sudo pear channel-discover pear.symfony-project.com
sudo pear install –alldeps phpunit/PHPUnit verify that phpunit is works!
it will show the current phpunit version. so now we are ready to create project.
Create the test project called geeksite.
zf create project myzftest
sudo ln -s /usr/share/php/libzend-framework-php/Zend/
now its ready with all the necessary files and folders. pointing my browser to http://localhost/myzftest/public/ to get my zend page. 🙂
its so easy to do this all in linux. just loving it.