Friday, June 5, 2015

Install Zend Framework in XAMPP Ubuntu or any other Linux

Install Zend Framework 2 on XAMPP Linux


Ist method :
First change the directory.
cd /opt/lampp/htdocs
Now clone the framework using following git command :
git clone git://github.com/zendframework/ZendSkeletonApplication.git
Now change the directory again.
cd ZendSkeletonApplication
Run Command :
/opt/lampp/bin/php composer.phar self-update
Now
/opt/lampp/bin/php composer.phar install
and finally run command
curl -#L https://github.com/zendframework/ZendSkeletonApplication/tarball/master | tar xz --strip-components=1
Now you can open the zend frame work on your localhost using
http://localhost/ZendSkeletonApplication/public/

IInd method :
Run these commands :
cd /opt/lampp/htdocs
git clone git://github.com/zendframework/ZendSkeletonApplication.git --recursive
Now try to open framework using
http://localhost/ZendSkeletonApplication/public/