cdeely
-
Posts
2 -
Joined
-
Last visited
Posts posted by cdeely
-
-
Hi all,
I am new to Revive and trying to spin up an instance on a Docker Compose setup. I am leveraging an official PHP (FPM) image (php:7-fpm-alpine) with a great many extensions already configured.
When running the Revive installation wizard, the system check fails complaining of missing extensions: zip, mysqli or pgsql. zip and pgsql may in fact not be enabled, but mysqli is directly listed in the output from `php -m`. Is there a reason it is not detected?
I am not super well versed with PHP configuration, so I could be missing something obvious here
~ php -m
[PHP Modules]
// truncated list to show relevant parts
mbstring
mysqli
mysqlnd
openssl
pcre
PDO
pdo_mysql
pdo_sqlite
~ php -i
// again, truncated
mysqli
MysqlI Support => enabled
Client API library version => mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
Active Persistent Links => 0
Inactive Persistent Links => 0
Active Links => 0Directive => Local Value => Master Value
mysqli.allow_local_infile => Off => Off
mysqli.allow_persistent => On => On
mysqli.default_host => no value => no value
mysqli.default_port => 3306 => 3306
mysqli.default_pw => no value => no value
mysqli.default_socket => /var/mysql/mysql.sock => /var/mysql/mysql.sock
mysqli.default_user => no value => no value
mysqli.max_links => Unlimited => Unlimited
mysqli.max_persistent => Unlimited => Unlimited
mysqli.reconnect => Off => Off
mysqli.rollback_on_cached_plink => Off => Offmysqlnd
mysqlnd => enabled
Version => mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $
Compression => supported
core SSL => supported
extended SSL => supported
Command buffer size => 4096
Read buffer size => 32768
Read timeout => 86400
Collecting statistics => Yes
Collecting memory statistics => No
Tracing => n/a
Loaded plugins => mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_sha256_password
API Extensions => pdo_mysql,mysqliPDO
PDO support => enabled
PDO drivers => mysql, sqlitepdo_mysql
PDO Driver for MySQL => enabled
Client API version => mysqlnd 5.0.12-dev - 20150407 - $Id: 7cc7cc96e675f6d72e5cf0f267f48e167c2abb23 $Directive => Local Value => Master Value
pdo_mysql.default_socket => /var/mysql/mysql.sock => /var/mysql/mysql.sockpdo_sqlite
PDO Driver for SQLite 3.x => enabled
SQLite Library => 3.28.0
Unable to install in Docker container - PHP Configuration Errors
in For Developers
Posted
I managed to get a Docker image properly configured with support for Revive. Here's my Dockerfile for anyone else who runs into this: