Does Couchbase run on PHP 7.2


#1

Does couchbase.so run on PHP 7.2? we are trying to upgrade to 7.2 and get CouchbaseCluster not defined.

[Fri May 25 19:15:27.077547 2018] [php7:error] [pid 1550] [client 204.101.60.198:57568] PHP Fatal error: Uncaught Error: Class ‘CouchbaseCluster’ not found in /var/www/b4tsolutions.com/public_html/spencerville/includes/couchbase.php:7\nStack trace:\n#0 /var/www/b4tsolutions.com/public_html/spencerville/includes/commonIncludes.php(23): include()\n#1 /var/www/b4tsolutions.com/public_html/spencerville/fair.php(2): include(’/var/www/b4tsol…’)\n#2 {main}\n thrown in /var/www/b4tsolutions.com/public_html/spencerville/includes/couchbase.php on line 7


#2

We just upgraded to PHP 7.2.1 and it works fine for us.


#3

Could you check, that your php properly loads the extension?

You can check php -m or output of phpinfo (php -i). Note that you have to recompile extension when you switching php versions.


#4

Thanks. we will try recompiling