Roman 1 week ago
parent
commit
3d4b179984
3 changed files with 5 additions and 2 deletions
  1. 3 0
      Core/Documents/Install.class.php
  2. 1 1
      README.md
  3. 1 1
      docker/php/Dockerfile

+ 3 - 0
Core/Documents/Install.class.php

@@ -235,6 +235,9 @@ namespace Documents\Install {
       $success = true;
       $failedRequirements = array();
 
+      // TODO: rather give a list of directories which have to be writable
+      // this should be: /Site/Cache, /Site/Logs, /Core/External/vendor, /react/dist/
+      // also likely: /react and /Site/API for cli.php
       if (!is_writeable(WEBROOT)) {
         $failedRequirements[] = sprintf("<b>%s</b> is not writeable. Try running <b>chmod 700 %s</b>", WEBROOT, WEBROOT);
         $success = false;

+ 1 - 1
README.md

@@ -3,7 +3,7 @@
 Web-Base is a php framework which provides basic web functionalities and a modern ReactJS Admin Dashboard.
 
 ### Requirements
-- PHP >= 8.1
+- PHP >= 8.2
 - One of these php extensions: mysqli, postgres
 - Apache/nginx or docker
 

+ 1 - 1
docker/php/Dockerfile

@@ -1,5 +1,5 @@
 FROM composer:latest AS composer
-FROM php:8.1-fpm
+FROM php:8.2-fpm
 WORKDIR "/application"
 
 ARG ADDITIONAL_PACKAGES