Hello guys. I'm compiling a php 5.6.20 on a Centos 6.7. I have the following error: configure: error: Can not find IMAP library (libc-client.a). Please check your c-client installation. In searching the internet I found a way to build the imap library in version Centos 6.7 . Does anyone know how to solve? Thank you.
Hey Why do you need to compile PHP at all? You can add EPEL repository and install PHP 5.6 just like that: Code: rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm And then you can install PHP 5.6: Code: yum install php56w You can also look here for similar questions.
Why do you want to force all websites to use the same php-version? There is a big difference between the php-version of the server and additional php-versions for websites.