Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a CentOS server and am attempting to setup Zend Framework on it. The command which php outputs

/usr/bin/php

and php -i | grep include_path outputs

include_path => .:/usr/share/pear:/usr/share/php=> .:/usr/share/pear:/usr/share/php

So, I copied the Zend folder from the Framework donwload to both /usr/share/pear and /usr/share/php and also copied zf.sh and zf.php to /usr/bin/php.

When I execute zf show version, I receive

bash: zf: command not found

Can anyone suggest further steps to take to ensure installation of ZF?

Thanks!

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

I've used the remi repository and did a yum update;yum install *Zend*. Zend should be installed correct and on a new ZF version you can just do yum update when remi pushed it into their repository (they are relative quick).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.