Solved this by compiling PHP's pecl mysql extension from source: $ git clone https://github.com/php/pecl-database-mysql mysql --recursiveGo to directory of the downloaded files, and then: $ phpize
$ ./configure
$ make
$ make installThen you have to register the extension in php.ini: extension=/usr/local/lib/php/[. . . path to PHP extensions]/mysql.soThen restart Apache, and Revive works fine. PS. When I ran "configure" I also had to specify path to php_config: ./configure --with-php-config=/usr/local/bin/php-config