PHP - Failed to connect libcouchbase to the server on Centos/Redhat 6.4

It was a “apache” user permission error.
It would run as “root” but not as "apache"
had to change the config file in #vi /etc/selinuix/config
from
SELINUX=enforcing
to
SELINUX=disabled
then rebooted the machine.

Get an conncetion error
Warning: Failed to connect libcouchbase to the server: Connection failure in
on the webpage
BUT
When I run it through the command line the warning does not show.

I think its the same problem in the post but it does not give an answer. www.couchbase.com/forums/thread/problem-using-couchbase-php-sdk-apache-shell-working-fine

This is my out put on # php -i
couchbase couchbase support => enabledversion => 1.1.4dp1libcouchbase version => 2.0.6json support => yesfastlz support => yeszlib support => yesigbinary support => no Directive => Local Value => Master Valuecouchbase.compression_factor => 1.3 => 1.3couchbase.compression_threshold => 2000 => 2000couchbase.compressor => none => nonecouchbase.config_cache => no value => no valuecouchbase.durability_default_poll_interval => 100000 => 100000couchbase.durability_default_timeout => 40000000 => 40000000couchbase.instance.persistent => On => Oncouchbase.restflush => On => Oncouchbase.serializer => php => phpcouchbase.view_timeout => 75 => 75 When I do check for class it says it exitst if(class_exists(‘Couchbase’)){echo ‘Yes’;} Any in ideas??