Zend Framework on Fedora 18/17, CentOS/Red Hat (RHEL) 6.4/5.9 - Comment Page: 1
This is quick guide, howto install Zend Framework (ZF) 1.12.3 on Fedora 18/17/16/15, CentOS 6.4/6.3/6.2/6.1/6/5.9 and Red Hat (RHEL) 6.4/6.3/6.2/6.1/6/5.9. This guide also works with older Fedora releases, like Fedora 13/12/11 and also with older CentOS/Red Hat RHEL 5 releases. I use Remi repository here because it's updated more frequently than example Fedora's own repositories.
What is Zend Framework?
Zend Framework is a simple, straightforward, open-source software framework for PHP 5 designed to eliminate the tedious details of coding and let you focus on the big picture. Its strength is in its highly-modular MVC design, making your code more reusable and easier to...
good tutorial.it helped me a lot…….Thanks………
Good one.It helped me
thanks bro.. ;-)
br
Thanks buddy it is a wonder for me…
Because i am not aware of this….
Thanks Again
i have tried to install zend-framework on our server, but failed
IP address of the server : 174.36.141.219
i have follow these steps :
step 1 :
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm
step 2 :
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
step 3 :
yum –enablerepo=remi install php-ZendFramework* –exclude php-ZendFramework-Db-Adapter-Oracle
on executing this command i got errors
No package php-ZendFramework available.
Please guide
Hi Tusar,
It should work, try to run yum update first?
Then please post output of following command:
Hi, I have the same problem as Tusar, I just did yum update and
yum –disablerepo=* –enablerepo=remi list available |grep Zend prints nothing for me. If I remove the grep part, lots of things are listed, but indeed nothing with ‘Zend’.
[[email protected] ~]$ ls -1 /etc/yum.repos.d/epel* /etc/yum.repos.d/remi.repo
/etc/yum.repos.d/epel.repo
/etc/yum.repos.d/epel-testing.repo
/etc/yum.repos.d/remi.repo
and
package epel-release-6-8.noarch is already installed
package remi-release-6-1.el6.remi.noarch is already installed
I’m on CENT OS 6
Hi rene,
If I run following on CentOS 6.3:
Mine output is following:
I just did the following:
Download Zend tar.gz from http://framework.zend.com/download/gdata
Extract (tar -zxvf Zend*.tgz)
mv ./ZendGdata-1.11.9/library/Zend /usr/share/php/
chmod -R apache:apache /usr/share/php/Zend
worked for me.
Such a great tutorial. It helped me a lot… Thank you JR
I have followed this to the letter. But when I run any zf command, i get a ZF error saying path not found. I have triple checked and added the path to my include_path but still it wound work.
How about a tutorial on how to install both zend framework and nginx?
Keep up the good work.
Logout!
hi,
After creating new project i got this error :
PHPUnit was not found in your include_path, therefore no testing actions will be created.
Can you explain me about this!!!!
Thank u
Hi rizvan,
It’s just notice that you don’t have PHPUnit on path / installed. Do you have php-ZendFramework-tests package installed?
HI, i’ve tried to install zend framework following this tutorial on a Centos 5 and it fuck up my mysql…. now have 4 clients production sites down!!
I have only ran 2 lines:
## Remi Dependency on CentOS 5 and Red Hat (RHEL) 5 ##
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
## CentOS 5 and Red Hat (RHEL) 5 ##
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
After this the normal :
yum –enablerepo=remi install php-ZendFramework
For some reason this lines include and update of mysql and now non of the sites can connect with mysql… the message says
PDOException: SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) in lock_may_be_available() (line 165 of /var/www/vhosts/baetica.es/httpdocs/includes/lock.inc).
I have checked this file ‘/var/lib/mysql/mysql.sock’ and is missing, and the “unwanted installation” of mysql did include a nice present… a new file my.cnf.rpmnew and some other files in this folder ending with .rpmnew
Now my mysql server do not even start.
Any help? I’m desperate!!
Hi Beto,
First of all, it’s very important check what is really happening, when you run any command at production server as root user. Normally best way is run test server and test changes there before you run any commands on production server and if you don’t want to run test server then full backups before changes are good choice.
Then your problem.
Is MySQL server running at all?
Could you connect to MySQL server on locally with mysql client using same hostname, username, password and dbname as your sites?
Could you connect to MySQL using ip 127.0.0.1 instead localhost?
Many Thanks Dear :-)
i have successfully installed zend-framework on my rhel 6
when i put url as,
http://localhost/myzend/pubic/
its working fine.
but if i put url as
http://localhost/myzend/pubic/index/
its not working. (it gives 404 error)
i have done all possible configuration.
Hi
i followed step-by step instruction.It worked fine in centos but not in RHEL.Pls help me
Hy JR,,
I am interested in your posts,,
Can you publish article,, How to running Codeigniter 2.1.2 Framework with Netbeans Editor in CentOS 6.2 Desktop???