zend framework 1.11.12 for php 5 on rhel_centos 6.3_5.pdf

14
7/29/13 Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16 www.tecmint.com/zend-framework-1-11-12-for-php-on-rhel-centos-6-3-5-8-and-fedora-17-16/ 1/14 Search Select Language Pow ered by Translate Advertise Hire Us Submit Articles Archives Who We Are? Contact Us Privacy Policy Copyright Policy Home Linux Distros » Open Source Web Servers » Databases » Linux Commands TecMint.com is a community driven Linux website. Our motto is to provide an effortless howto’s to our valuable readers. You are also welcome to join our community and can be part of our team, contributing and submitting well written article on Linux. If you have any query,

Upload: victor-l-wamukoya

Post on 30-Nov-2015

94 views

Category:

Documents


4 download

DESCRIPTION

zend framework installation

TRANSCRIPT

Page 1: Zend Framework 1.11.12 for PHP 5 on RHEL_CentOS 6.3_5.pdf

7/29/13 Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16

www.tecmint.com/zend-framework-1-11-12-for-php-on-rhel-centos-6-3-5-8-and-fedora-17-16/ 1/14

Search

Select Language Pow ered by Translate

Advertise

Hire UsSubmit Articles

ArchivesWho We Are?Contact UsPrivacy PolicyCopyright Policy

HomeLinux Distros »

Open SourceWeb Servers »Databases »Linux Commands

TecMint.com is a community driven Linux website. Our motto is to provide an effortless howto’s to ourvaluable readers.

You are also welcome to join our community and can be part of our team, contributing and submitting well written article on Linux. If you have any query,

Page 2: Zend Framework 1.11.12 for PHP 5 on RHEL_CentOS 6.3_5.pdf

7/29/13 Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16

www.tecmint.com/zend-framework-1-11-12-for-php-on-rhel-centos-6-3-5-8-and-fedora-17-16/ 2/14

please contact us by email tecmint.com [at] gmail [dot] com or use our contact form.

Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16

By Ravi Saive Under: CentOS, Fedora, Linux Distros, PHP, RedHat On: February 21, 2013

Zend Framework is an open source, simple and straightforward object-oriented web application framework for PHP 5. It is used to eliminate the

tedious details of coding and allows you to focus on the big picture. Its main backbone is in its highly-modular MVC (Model–View–Controller)

design, making your code highly reusable and simpler to maintain.

Install Zend Framework in Linux

In this tutorial we will guide you all how to install newly released Zend Framework 1.11.12 version on RHEL 6.3/6.2/6.1/6/5.9/5.8, CentOS

6.3/6.2/6.1/6/5.9/5.8 and Fedora 18,17,16,15,14,13,12 using yum repositories called Remi and EPEL, why we choose these repos, because they

updates regularly as compare to any other repositories like Fedora, Centos or RedHat. This guide also works on older version of Linux

distributions.

Step 1: Enabling Remi & Epel Repositories

► Linux Box ► Install RPM ► Install PHP ► Linux Tools

Page 3: Zend Framework 1.11.12 for PHP 5 on RHEL_CentOS 6.3_5.pdf

7/29/13 Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16

www.tecmint.com/zend-framework-1-11-12-for-php-on-rhel-centos-6-3-5-8-and-fedora-17-16/ 3/14

Enable these both yum repositories to install latest Zend Framework. Please select and install proper repository package for your system.

[For RHEL/CentOS 6.3/5.9]

## Epel Dependency on RHEL/CentOS 6 ### rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm

## Remi Dependency on RHEL/CentOS 6 ### rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

## Epel Dependency on RHEL/CentOS 5 ### rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

## Remi Dependency on RHEL/CentOS 5 ### rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

[For Fedora 18-12]

## Remi Dependency on Fedora 18,17,16,15,14,13,12 ### rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm # rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

## Remi Dependency on Fedora 18 ### rpm -Uvh http://rpms.famillecollet.com/remi-release-18.rpm

## Remi Dependency on Fedora 17 ### rpm -Uvh http://rpms.famillecollet.com/remi-release-17.rpm

## Remi Dependency on Fedora 16 ### rpm -Uvh http://rpms.famillecollet.com/remi-release-16.rpm

## Remi Dependency on Fedora 15 ### rpm -Uvh http://rpms.famillecollet.com/remi-release-15.rpm

## Remi Dependency on Fedora 14 ### rpm -Uvh http://rpms.famillecollet.com/remi-release-14.rpm

## Remi Dependency on Fedora 13 ### rpm -Uvh http://rpms.famillecollet.com/remi-release-13.rpm

## Remi Dependency on Fedora 12 ##

Page 4: Zend Framework 1.11.12 for PHP 5 on RHEL_CentOS 6.3_5.pdf

7/29/13 Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16

www.tecmint.com/zend-framework-1-11-12-for-php-on-rhel-centos-6-3-5-8-and-fedora-17-16/ 4/14

# rpm -Uvh http://rpms.famillecollet.com/remi-release-12.rpm

Step 2: Installing Zend Framework 1.11.12

Once repositories enabled, run the following yum command to install it.

# yum --enablerepo=remi install php-ZendFramework

Step 3: Verify Zend Framework

Verify Zend Framework version by running the command.

# zf show version

Zend Framework Version: 1.11.12

Step 4: Creating Zend Project for Testing

Creating new Zend project for testing purpose.

# cd /var/www/html# zf create project tecmint-project

Creating project at /var/www/html/tecmint-projectNote: This command created a web project, for more information setting up your VHOST, please see docs/README

Step 5: Creating Symbolic Link for Zend Project

Creating symbolic link by copying Zend directory from /usr/share/php/Zend to under /var/www/html/tecmint-project/ directory.

# cd /var/www/html/tecmint-project/library/# ln -s /usr/share/php/Zend .

Step 6: Checking Zend Project Page

To check Zend project’s index page, open your browser and enter the following address.

Page 5: Zend Framework 1.11.12 for PHP 5 on RHEL_CentOS 6.3_5.pdf

7/29/13 Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16

www.tecmint.com/zend-framework-1-11-12-for-php-on-rhel-centos-6-3-5-8-and-fedora-17-16/ 5/14

http://localhost/tecmint-project/public

OR

http://YOUR-IP-ADDRESS/tecmint-project/public

Zend Framework Screenshot

Here, is the screenshot of Zend Framework under my CentOS 6.3 Linux box.

Page 6: Zend Framework 1.11.12 for PHP 5 on RHEL_CentOS 6.3_5.pdf

7/29/13 Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16

www.tecmint.com/zend-framework-1-11-12-for-php-on-rhel-centos-6-3-5-8-and-fedora-17-16/ 6/14

Bio Latest Posts

Zend Framework Welcome Screen

If in case, you might having any difficulties while installing, please post your queries using our comment box below. If you liked this article, then don’tforget to share it with your friends.

Page 7: Zend Framework 1.11.12 for PHP 5 on RHEL_CentOS 6.3_5.pdf

7/29/13 Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16

www.tecmint.com/zend-framework-1-11-12-for-php-on-rhel-centos-6-3-5-8-and-fedora-17-16/ 7/14

Ravi SaiveOwner at TecMint.com

Simple Word a Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on

Open Source Platform called Linux.

Linux Services & Free WordPress Setup

Our post is simply ‘DIY’ aka ‘Do It Yourself, still you may find difficulties and want us to help you out. We offer wide range of Linux and WebHosting Solutions at fair minimum rates. Please submit your orders by Clicking Here.

TweetTweet

7

23

Like

5

4

2

ShareShare

Page 8: Zend Framework 1.11.12 for PHP 5 on RHEL_CentOS 6.3_5.pdf

7/29/13 Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16

www.tecmint.com/zend-framework-1-11-12-for-php-on-rhel-centos-6-3-5-8-and-fedora-17-16/ 8/14

comments

Internet Wine Business Idea Facebook Hosting Company

Reverse address lookup Chrome windows 7 Source

« Previous Post

How to Install Teamviewer 8 on Linux Distributions

Next Post »

How to Install Varnish Cache (Web Accelerator) in RHEL/CentOS/Fedora and Ubuntu/Debian

Related Post(s):

1. 15 Useful “ifconfig” Commands to Configure Network Interface in Linux

2. Install Apache, MySQL 5.5.32 & PHP 5.5.0 on RHEL/CentOS 6.4/5.9 & Fedora 19-12

3. 20 MySQL (Mysqladmin) Commands for Database Administration in Linux

4. Install Skype 4.0 for RHEL/CentOS 6.3 and Fedora 17/16

5. 20 Netstat Commands for Linux Network Management

6. Install LEMP (Linux, Nginx, MySQL 5.5.29, PHP 5.4.11) on RHEL/CentOS 5-6 & Fedora 18-12

4 Responses

1. Karl says:

January 11, 2013 at 12:55 am

Thank-you for the wonderful instructions.

Reply

► Linux Tools ► SuSE Linux ► Linux CD ► Fedora

Page 9: Zend Framework 1.11.12 for PHP 5 on RHEL_CentOS 6.3_5.pdf

7/29/13 Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16

www.tecmint.com/zend-framework-1-11-12-for-php-on-rhel-centos-6-3-5-8-and-fedora-17-16/ 9/14

2. Daniel says:

February 4, 2013 at 2:14 am

Perfect instructions. I have never used the remi and epel packages. Can you explain what’s so unique about them that they helped with the

installation.

I tried the instructions on the zend site, but I must have missed a few packages as it couldn’t figure out where the zf.php file was it.

I am still missing the phpunit package, but I think I can handle this on my own.

Thanks for PERFECT instructions!

Reply

3. test says:February 22, 2013 at 12:51 am

Hello mates, pleasant piece of writing and fastidious arguments commented here, I am actually enjoying by these.

Reply

4. McQueen says:

April 22, 2013 at 1:17 pm

Hi, thanks for the tutorial ..

I have a problem with the next step: # zf show version

I do not see the version.

***************************** ZF ERROR ******************* *************

In order to run the zf command, you need to Ensure That Zend Frameworkis inside your include_path. There are a variety of ways That you can

Ensure That this zf command line tool knows where the Zend Framework

Page 10: Zend Framework 1.11.12 for PHP 5 on RHEL_CentOS 6.3_5.pdf

7/29/13 Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16

www.tecmint.com/zend-framework-1-11-12-for-php-on-rhel-centos-6-3-5-8-and-fedora-17-16/ 10/14

library is on your system, but not all of them can be Described here.

….

I use Centos 6.3. The installation has been completed successfully.

Any ideas?

Thanks for sharing.

Reply

Leave a Reply

Name (Required)

Mail (will not be published) (Required)

Website

Submit Comment

Twitter 869 Twitter

Facebook 11390 Facebook

Google+ 281 Google+

Page 11: Zend Framework 1.11.12 for PHP 5 on RHEL_CentOS 6.3_5.pdf

7/29/13 Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16

www.tecmint.com/zend-framework-1-11-12-for-php-on-rhel-centos-6-3-5-8-and-fedora-17-16/ 11/14

RSS 1431 Subscribers

Become A TecMint Subscriber to receive latest Updates.

Enter Your Email Address :)Signup!

PopularLatest

CommentsTags

Install Apache, MySQL 5.5.32 & PHP 5.5.0 on RHEL/CentOS 6.4/5.9 & Fedora 19-1288 Comments

Install Cacti (Network Monitoring) on RHEL/CentOS 6.3/5.8 and Fedora 17-1288 Comments

Page 12: Zend Framework 1.11.12 for PHP 5 on RHEL_CentOS 6.3_5.pdf

7/29/13 Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16

www.tecmint.com/zend-framework-1-11-12-for-php-on-rhel-centos-6-3-5-8-and-fedora-17-16/ 12/14

Wine 1.6 Released – Install in RHEL, CentOS and Fedora85 Comments

CentOS 6.3 Step by Step Installation Guide with Screenshots71 Comments

Install Google Chrome 28.0 on RHEL/CentOS 6 and Fedora 19/1544 Comments

Install Skype 4.1 in Ubuntu 12.10, Xubuntu 12.10 and Linux Mint 14/1343 Comments

15 Command Line Tools to Monitor Linux Performance41 Comments

Install VirtualBox 4.2.16 on RHEL/CentOS 6.4/5.9 and Fedora 19-1236 Comments

CentOS 6.4 Step by Step Installation Guide with Screenshots36 Comments

Install Linux Malware Detect (LMD) in RHEL, CentOS and Fedora35 Comments

First Ubuntu Edge Hands-On – VIDEO

Page 13: Zend Framework 1.11.12 for PHP 5 on RHEL_CentOS 6.3_5.pdf

7/29/13 Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16

www.tecmint.com/zend-framework-1-11-12-for-php-on-rhel-centos-6-3-5-8-and-fedora-17-16/ 13/14

Page 14: Zend Framework 1.11.12 for PHP 5 on RHEL_CentOS 6.3_5.pdf

7/29/13 Zend Framework 1.11.12 for PHP 5 on RHEL/CentOS 6.3/5.9 and Fedora 18-16

www.tecmint.com/zend-framework-1-11-12-for-php-on-rhel-centos-6-3-5-8-and-fedora-17-16/ 14/14

©2013Tecmint: Linux Howtos, Tutorials & Guides.All rights reserved.

Proudly designed by Tecmint.com.