7.1
This commit is contained in:
parent
f3747d176e
commit
799d9b24fc
|
@ -53,6 +53,7 @@ RUN apt-get update && \
|
||||||
php-xml \
|
php-xml \
|
||||||
php-zip \
|
php-zip \
|
||||||
php-imap \
|
php-imap \
|
||||||
|
php-gmp \
|
||||||
wget \
|
wget \
|
||||||
&& \
|
&& \
|
||||||
rm /etc/apache2/sites-enabled/*default* && \
|
rm /etc/apache2/sites-enabled/*default* && \
|
||||||
|
|
|
@ -92,6 +92,10 @@ if (!extension_loaded('imagick') && !extension_loaded('gd')) {
|
||||||
if (!function_exists('json_encode')) {
|
if (!function_exists('json_encode')) {
|
||||||
$criticalErrors[] = array("ERROR", "Your PHP has no JSON support!", "Please install the JSON extension for PHP.");
|
$criticalErrors[] = array("ERROR", "Your PHP has no JSON support!", "Please install the JSON extension for PHP.");
|
||||||
}
|
}
|
||||||
|
// check if PHP has GMP support
|
||||||
|
if (!extension_loaded('gmp')) {
|
||||||
|
$criticalErrors[] = array("ERROR", "Your PHP has no GMP support!", "Please install the GMP extension for PHP.");
|
||||||
|
}
|
||||||
// check file permissions
|
// check file permissions
|
||||||
$writableDirs = array('sess', 'tmp');
|
$writableDirs = array('sess', 'tmp');
|
||||||
for ($i = 0; $i < sizeof($writableDirs); $i++) {
|
for ($i = 0; $i < sizeof($writableDirs); $i++) {
|
||||||
|
|
Loading…
Reference in New Issue