Sunday, March 6, 2011

Installing Zend server CE on Fedora 14 and fix YUM update

Install Zend Server CE on Fedora 14 (SElinux diabled) is pretty easy. Here are key steps,

1) With root account privilege, go to directory /etc/yum.repos.d and create a file named as anyName.repo. The content of file is as below,


[Zend]
name=Zend Server
baseurl=http://repos.zend.com/zend-server/rpm/$basearch
enabled=1
gpgcheck=0

[Zend_noarch]
name=Zend Server - noarch
baseurl=http://repos.zend.com/zend-server/rpm/noarch
enabled=1
gpgcheck=0


2) With root privilege, running below command,
yum install zend-server-php-5.3

3) After running step 2, Zend server is installed. However, you may run into error when you run yum update. The error message is as below,

Fatal Python error: pycurl: libcurl link-time version is older than compile-time version.

To solve this, we need to do two more things to correct the system.

  1. modify file /etc/ld.so.conf.d/zend_server.conf to have below content,

    cat /etc/ld.so.conf.d/zend_server.conf
    /usr/lib64
    /usr/local/zend/lib


  2. run linux command ldconfig to build correct symbolic links.

No comments:

Post a Comment