File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 3434// Show warning if a PHP version below 5.4.0 is used, this has to happen here
3535// because base.php will already use 5.4 syntax.
3636if (version_compare (PHP_VERSION , '5.4.0 ' ) === -1 ) {
37- echo 'This version of ownCloud requires at least PHP 5.4.0 ' .PHP_EOL ;
37+ echo 'This version of Nextcloud requires at least PHP 5.4.0 ' .PHP_EOL ;
3838 echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version. ' .PHP_EOL ;
3939 return ;
4040}
4141
42+ // Show warning if PHP 7.1 is used as Nextcloud is not compatible with PHP 7.1 for now
43+ // @see https://github.com/nextcloud/docker-ci/issues/10
44+ if (version_compare (PHP_VERSION , '7.1.0 ' ) !== -1 ) {
45+ echo 'This version of Nextcloud is not compatible with PHP 7.1.<br/> ' ;
46+ echo 'You are currently running ' . PHP_VERSION . '. ' ;
47+ return ;
48+ }
49+
4250function exceptionHandler ($ exception ) {
4351 echo "An unhandled exception has been thrown: " . PHP_EOL ;
4452 echo $ exception ;
You can’t perform that action at this time.
0 commit comments