Last Updated: February 25, 2016
·
793
· lgavinho

Shell script to install Zend Framework 1

To install Zend Framework 1 in a puppet script you can use this Linux script below.

Copy and name it install_zf1.sh

#!/bin/bash
sudo su
cd /home
wget https://packages.zendframework.com/releases/ZendFramework-1.12.3/ZendFramework-1.12.3.tar.gz
tar -xvzf ZendFramework-1.12.3.tar.gz
echo 'include_path = ".:/home/ZendFramework-1.12.3/library"' > /etc/php5/conf.d/zf.ini
service apache2 restart