This commit is contained in:
Roman 2024-04-22 10:59:31 +02:00
parent 29c72d13e7
commit 3d4b179984
3 changed files with 5 additions and 2 deletions

@ -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;

@ -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,5 +1,5 @@
FROM composer:latest AS composer
FROM php:8.1-fpm
FROM php:8.2-fpm
WORKDIR "/application"
ARG ADDITIONAL_PACKAGES