Compare commits

...

49 Commits

Author SHA1 Message Date
8f77510052 build fix 2023-10-15 00:25:08 +05:00
8c17953315 testing cleaner build 2023-10-15 00:19:25 +05:00
5330168595 Fix php-imagemagik 2022-12-07 21:34:13 +05:00
44f11cee27 fix php env 2022-12-07 20:16:05 +05:00
6c6061c1ee removed php8.1 junk, disabled some output thing 2022-12-07 18:45:16 +05:00
573c0f9066 BRUHH php.ini rename 2022-11-05 19:56:52 +05:00
fede9db8e7 php memory limit increase 2022-11-05 19:52:29 +05:00
85a27b96dd more childen 2022-11-05 19:45:40 +05:00
bd0563afa7 commented pdlib, its there there tho 2022-11-05 19:44:35 +05:00
4c8ebad4fc php error log fix 2022-11-05 19:36:34 +05:00
cbd2b2069d php 7.4 config files 2022-11-05 19:15:48 +05:00
e519143590 start services php 7,4 2022-11-05 19:06:58 +05:00
e005ae74a3 php 7.4 nginx 2022-11-05 19:03:37 +05:00
1261888847 \ ffs 2022-11-05 19:01:07 +05:00
f56633a471 downgrade to php 7.4, php7.4-pdlib 2022-11-05 19:00:10 +05:00
01f320b725 uncomment php-fpm env 2022-11-05 00:50:24 +05:00
aa134f2ac7 it doesnt work anyway lol 2022-11-05 00:14:13 +05:00
4c61bd9be5 del folder -r 2022-11-05 00:13:32 +05:00
b653e814a1 enable cron.php to run 2022-11-05 00:10:08 +05:00
7e08b2cfd4 attempting to install pdlib 2022-11-04 23:47:43 +05:00
56bd3dc6a1 commented init script 2022-11-04 23:01:15 +05:00
09ab2bdebc added hostname for container 2022-11-04 22:37:01 +05:00
73c89e982c README UPDATE: mount nextcloud apps in separate folder 2022-11-04 22:34:51 +05:00
d46d637ac0 mount nextcloud apps in separate folder 2022-11-04 22:33:20 +05:00
cd2db88a3b changed shell, some clean up 2022-11-04 22:30:54 +05:00
84a88ba7bb FIX: pdlib module, Face regontion 2022-11-04 14:06:35 +05:00
856b9fed53 NEW MODULE: pdlib 2022-10-08 16:23:31 +05:00
e43a18df11 increate php memory limit 2022-10-08 13:59:41 +05:00
2c9e61417b more instructions 2022-10-08 04:47:01 +05:00
ec26b08675 boyt that is not your git domain 2022-10-08 04:36:30 +05:00
9be372d1a6 added docker-compose to readme 2022-10-08 04:31:36 +05:00
4587c41f2b final i think 2022-10-08 04:29:17 +05:00
3eda84c327 permmissions fix 2022-10-08 04:20:47 +05:00
7aa6a681a1 dbconfig 2022-10-08 04:03:24 +05:00
57be7631a5 .. 2022-10-08 03:59:40 +05:00
b4ab2060ff FIX: nextcloud log dir permissions 2022-10-08 03:49:39 +05:00
8dd09ad4f8 CONFIG: nextcloud log dirs 2022-10-08 03:44:13 +05:00
7aa7eacacf FIX: timezone 2022-10-08 03:41:39 +05:00
970eb0a1cf FIX: appdir 2022-10-08 03:41:09 +05:00
991d2abcc2 FIX: config/config 2022-10-08 03:38:12 +05:00
4d81b1b52c FIX: nextcloud config mount path in auto_config.sh 2022-10-08 03:08:25 +05:00
c7af24868b FIX: nextcloud config mount path in docker-compose.yml 2022-10-08 03:05:45 +05:00
b1c83b2941 fuck apache2, attepmt to configure nextcloud php 2022-10-08 03:04:01 +05:00
8079905530 FIX: Extract nextcloud archive 2022-10-07 20:27:53 +05:00
b893787b1a ......download nextcloud lmao 2022-10-07 20:16:33 +05:00
dbaca1d831 changed nginx root path 2022-10-07 19:55:34 +05:00
b31bb3aa6b not needed 2022-10-07 19:51:33 +05:00
4b6c0961ff git to ignore logs 2022-10-07 19:50:38 +05:00
61a5243ee4 enabled logs 2022-10-07 19:49:52 +05:00
278 changed files with 3219 additions and 2651 deletions

26
.backup.sh Executable file
View File

@ -0,0 +1,26 @@
#!/bin/bash
set -e
cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1
# setting inital variables
DIR="."
BACKUPDIR="/mnt/vol2/docker-backups"
DATETIME="$(date +'%d-%m-%Y_%H-%M-%S')"
FILENAME=$(basename $(pwd))-${DATETIME}.tar.zst
#Docker down
docker compose down
#Compress files into backdir
tar --zstd -cf $BACKUPDIR/$FILENAME $DIR
#docker up
docker compose up -d
##How to decompress file
## tar -I zstd -xf bitwarden*.tar.zst

33
.build/docker-compose.yml Normal file
View File

@ -0,0 +1,33 @@
version: '3.5'
services:
#########################
fpm:
build:
context: .
dockerfile: fpm.Dockerfile
x-bake:
pull: true
platforms:
- linux/amd64/v1
- linux/amd64/v2
- linux/amd64/v3
- linux/arm/v7
- linux/arm64
hostname: fpm
platform: linux/amd64/v3
image: git.shihaam.dev/dockerfiles/nextcloud-fpm:latest
nginx:
build:
context: .
dockerfile: nginx.Dockerfile
x-bake:
pull: true
platforms:
- linux/amd64/v1
- linux/amd64/v2
- linux/amd64/v3
- linux/arm/v7
- linux/arm64
hostname: nginx
platform: linux/amd64/v3
image: git.shihaam.dev/dockerfiles/nextcloud-nginx:vest

20
.build/fpm.Dockerfile Normal file
View File

@ -0,0 +1,20 @@
FROM git.shihaam.dev/dockerfiles/php-fpm:8.2.3
SHELL ["/bin/bash", "-c"]
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN --mount=type=cache,target=/var/cache/apt \
apt update && install locales -y \
&& apt auto-remove -y \
&& apt clean -y
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen \
&& locale-gen
RUN --mount=type=cache,target=/var/cache/apt \
apt update && apt install bzip2 zip unzip git gnupg2 ca-certificates lsb-release apt-transport-https wget curl nano vim -y --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*

3
.build/nginx.Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM git.shihaam.dev/dockerfiles/nginx-fpm:latest
COPY nginx.conf /etc/nginx/conf.d/default.conf

164
.build/nginx.conf Normal file
View File

@ -0,0 +1,164 @@
# Set the `immutable` cache control options only for assets with a cache busting `v` argument
map $arg_v $asset_immutable {
"" "";
default "immutable";
}
server {
listen 80;
server_name _;
#Logs
access_log /root/logs/nginx/access.log;
error_log /root/logs/nginx/error.log;
# Path to the root of your installation
root /var/www/html;
# Prevent nginx HTTP Server Detection
server_tokens off;
# HSTS settings
# WARNING: Only add the preload option once you read about
# the consequences in https://hstspreload.org/. This option
# will add the domain to a hardcoded list that is shipped
# in all major browsers and getting removed from this list
# could take several months.
#add_header Strict-Transport-Security "max-age=15768000; includeSubDomains; preload" always;
# set max upload size and increase upload timeout:
client_max_body_size 4G;
client_body_timeout 600s;
fastcgi_buffers 64 4K;
# Enable gzip but do not remove ETag headers
gzip on;
gzip_vary on;
gzip_comp_level 4;
gzip_min_length 256;
gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;
gzip_types application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rss+xml application/vnd.geo+json application/vnd.ms-fontobject application/wasm application/x-font-ttf application/x-web-app-manifest+json application/xhtml+xml application/xml font/opentype image/bmp image/svg+xml image/x-icon text/cache-manifest text/css text/plain text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy;
# Pagespeed is not supported by Nextcloud, so if your server is built
# with the `ngx_pagespeed` module, uncomment this line to disable it.
#pagespeed off;
# The settings allows you to optimize the HTTP2 bandwitdth.
# See https://blog.cloudflare.com/delivering-http-2-upload-speed-improvements/
# for tunning hints
client_body_buffer_size 512k;
# HTTP response headers borrowed from Nextcloud `.htaccess`
add_header Referrer-Policy "no-referrer" always;
add_header X-Content-Type-Options "nosniff" always;
add_header X-Download-Options "noopen" always;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Permitted-Cross-Domain-Policies "none" always;
add_header X-Robots-Tag "none" always;
add_header X-XSS-Protection "1; mode=block" always;
# Remove X-Powered-By, which is an information leak
fastcgi_hide_header X-Powered-By;
# Specify how to handle directories -- specifying `/index.php$request_uri`
# here as the fallback means that Nginx always exhibits the desired behaviour
# when a client requests a path that corresponds to a directory that exists
# on the server. In particular, if that directory contains an index.php file,
# that file is correctly served; if it doesn't, then the request is passed to
# the front-end controller. This consistent behaviour means that we don't need
# to specify custom rules for certain paths (e.g. images and other assets,
# `/updater`, `/ocm-provider`, `/ocs-provider`), and thus
# `try_files $uri $uri/ /index.php$request_uri`
# always provides the desired behaviour.
index index.php index.html /index.php$request_uri;
# Rule borrowed from `.htaccess` to handle Microsoft DAV clients
location = / {
if ( $http_user_agent ~ ^DavClnt ) {
return 302 /remote.php/webdav/$is_args$args;
}
}
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
# Make a regex exception for `/.well-known` so that clients can still
# access it despite the existence of the regex rule
# `location ~ /(\.|autotest|...)` which would otherwise handle requests
# for `/.well-known`.
location ^~ /.well-known {
# The rules in this block are an adaptation of the rules
# in `.htaccess` that concern `/.well-known`.
location = /.well-known/carddav { return 301 /remote.php/dav/; }
location = /.well-known/caldav { return 301 /remote.php/dav/; }
location /.well-known/acme-challenge { try_files $uri $uri/ =404; }
location /.well-known/pki-validation { try_files $uri $uri/ =404; }
# Let Nextcloud's API for `/.well-known` URIs handle all other
# requests by passing them to the front-end controller.
return 301 /index.php$request_uri;
}
# Rules borrowed from `.htaccess` to hide certain paths from clients
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)(?:$|/) { return 404; }
location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) { return 404; }
# Ensure this block, which passes PHP files to the PHP process, is above the blocks
# which handle static assets (as seen below). If this block is not declared first,
# then Nginx will encounter an infinite rewriting loop when it prepends `/index.php`
# to the URI, resulting in a HTTP 500 error response.
location ~ \.php(?:$|/) {
# Required for legacy support
rewrite ^/(?!index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy) /index.php$request_uri;
fastcgi_split_path_info ^(.+?\.php)(/.*)$;
set $path_info $fastcgi_path_info;
try_files $fastcgi_script_name =404;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $path_info;
fastcgi_param HTTPS on;
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
fastcgi_param front_controller_active true; # Enable pretty urls
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
fastcgi_max_temp_file_size 0;
}
location ~ \.(?:css|js|svg|gif|png|jpg|ico|wasm|tflite|map)$ {
try_files $uri /index.php$request_uri;
add_header Cache-Control "public, max-age=15778463, $asset_immutable";
access_log off; # Optional: Don't log access to assets
location ~ \.wasm$ {
default_type application/wasm;
}
}
location ~ \.woff2?$ {
try_files $uri /index.php$request_uri;
expires 7d; # Cache-Control policy borrowed from `.htaccess`
access_log off; # Optional: Don't log access to assets
}
# Rule borrowed from `.htaccess`
location /remote {
return 301 /remote.php$request_uri;
}
location / {
try_files $uri $uri/ /index.php$request_uri;
}
}

8
.gitignore vendored
View File

@ -1,2 +1,10 @@
configs/
configs/*
logs/
logs/*
nextcloud/
nextcloud-apps/
nextcloud-apps/*
nextcloud/*
database/
database/*

View File

@ -1,11 +1,10 @@
FROM debian:11-slim
WORKDIR /root
ARG NEXTCLOUD_VESION=1
ARG PHPVERSION=8.1
ARG PHPVERSION=7.4
SHELL ["/bin/bash", "-c"]
#Initial update packges
RUN apt update && apt upgrade
RUN apt update && apt upgrade -y
# Language setup
ENV LANG en_US.UTF-8
@ -18,10 +17,15 @@ RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen \
&& locale-gen
# Installing basic tools
RUN apt install zip unzip git gnupg2 ca-certificates lsb-release apt-transport-https wget curl nano vim -y --no-install-recommends \
RUN apt install bzip2 zip unzip git gnupg2 ca-certificates lsb-release apt-transport-https wget curl nano vim -y --no-install-recommends \
&& apt auto-remove -y \
&& apt clean -y
#Download and extract Nextcloud....
RUN wget https://download.nextcloud.com/server/releases/latest.tar.bz2 \
&& tar -xvf latest.tar.bz2 \
&& rm -v latest.tar.bz2
# Installing and configuring nginx
RUN apt install nginx -y --no-install-recommends \
&& apt auto-remove -y \
@ -40,39 +44,66 @@ RUN wget https://packages.sury.org/php/apt.gpg \
&& apt update
#Installing and configure PHP
RUN apt install php${PHPVERSION} -y --no-install-recommends \
RUN apt install php${PHPVERSION}-fpm php${PHPVERSION} -y --no-install-recommends \
&& mkdir /run/php/
#Installing Required PHP Modules
RUN bash -c 'apt install -y php${PHPVERSION}-{fpm,cli,bcmath,bz2,intl,common,ctype,curl,dom,gd,mbstring,posix,simplexml,xmlreader,xmlwriter,zip} --no-install-recommends'
RUN apt install -y php${PHPVERSION}-{cli,bcmath,bz2,intl,common,ctype,curl,dom,gd,mbstring,posix,simplexml,xmlreader,xmlwriter,zip} --no-install-recommends
#Installing database connector PHP Modules
RUN bash -c 'apt install -y php${PHPVERSION}-mysql --no-install-recommends'
RUN apt install -y php${PHPVERSION}-mysql --no-install-recommends
#Installing recommended PHP Modules
RUN bash -c 'apt install -y php${PHPVERSION}-{fileinfo,bz2,intl} --no-install-recommends'
RUN apt install -y php${PHPVERSION}-{fileinfo,bz2,intl} --no-install-recommends
#Installing Optional Specific app PHP Modules
RUN bash -c 'apt install -y php${PHPVERSION}-{gmp,exif} --no-install-recommends'
RUN apt install -y php${PHPVERSION}-{gmp,exif} --no-install-recommends
#Installing Optional server performance enhancement PHP Modules
RUN bash -c 'apt install -y php${PHPVERSION}-{apcu,memcached,redis} --no-install-recommends'
RUN apt install -y php${PHPVERSION}-{apcu,memcached,redis} --no-install-recommends
#Installing optional PHP modules and tools for preview generation #Maybe add LibreOffice here
RUN bash -c 'apt install -y php${PHPVERSION}-imagick imagemagick ffmpeg libreoffice --no-install-recommends'
RUN apt install -y php${PHPVERSION}-imagick libmagickcore-6.q16-6-extra imagemagick ffmpeg libreoffice --no-install-recommends
#Installing Optional cli enhancement PHP Modules
#RUN bash -c 'apt install -y php${PHPVERSION}-pcntl --no-install-recommends'
#RUN apt install -y php${PHPVERSION}-pcntl --no-install-recommendsb
#Installing Optional PHP module requried for face recogniton
RUN echo "deb https://repo.delellis.com.ar bullseye bullseye" > /etc/apt/sources.list.d/20-pdlib.list \
&& wget -qO - https://repo.delellis.com.ar/repo.gpg.key | apt-key add - \
&& apt update \
&& apt install -y php${PHPVERSION}-pdlib --no-install-recommends \
&& apt auto-remove -y \
&& apt clean -y
#RUN apt install php${PHPVERSION}-dev libx11-dev libopenblas-dev liblapack-dev make cmake gcc g++ -y \
# && git clone https://github.com/davisking/dlib.git \
# && cd dlib/dlib && mkdir build && cd build \
# && cmake -DBUILD_SHARED_LIBS=ON .. \
# && make && make install \
# && cd \
# && git clone https://github.com/goodspb/pdlib.git \
# && cd pdlib \
# && phpize && ./configure --enable-debug \
# && make && make install \
# && apt auto-remove -y \
# && apt clean -y \
# && rm -vr pdlib dlib
# Delete default stuff
#nginx
RUN rm -rv /var/www/html/index.nginx-debian.html \
/etc/php/
/etc/nginx/
/etc/php/ \
/etc/nginx/ \
/root/nextcloud/config/
# enable cron.php to run
RUN usermod --shell '/bin/bash' www-data \
&& echo -e "bruh\nbruh" | passwd www-data
#Autoconfig defaults
RUN mkdir -pv default_configs/etc/
RUN mkdir -pv default_configs/etc/ default_configs/var/
COPY buildfiles/etc/ default_configs/etc/
COPY buildfiles/var/ default_configs/var/
#autostart files
COPY buildfiles/auto_config.sh .

View File

@ -1,3 +1,57 @@
## NextCloud Docker
I dont like official nextcloud docker
- `docker-compose.yml`
```yaml
version: '3.5'
services:
#########################
app:
image: git.shihaam.dev/dockerfiles/nextcloud
hostname: nextcloud
volumes:
- ./configs/init:/root/init
- ./configs/etc/nginx:/etc/nginx
- ./configs/etc/php:/etc/php
- ./configs/var/www/html/config:/var/www/html/config
- ./logs:/root/logs
- ./nextcloud:/var/www/html
- ./nextcloud-apps:/var/www/html/apps
- /mnt/hdd/nextcloud-data:/var/www/html/data #CHANGE MOUNT POINT FOR THIS
ports:
- 8000:80
#########################
db:
image: mysql:8
environment:
MYSQL_DATABASE: nextcloud
MYSQL_USER: nextcloud
MYSQL_PASSWORD: nextcloud
MYSQL_ALLOW_EMPTY_PASSWORD: true
volumes:
- ./database:/var/lib/mysql
```
- You must use a reverse proxy with SSL before starting to setup, personally i use nginx with certbot. \
here is my nginx config
```nginx
server {
server_name nextcloud.shihaam.me; #Change this to your domain
listen 80;
location / {
proxy_pass http://localhost:8000;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
```
- SSL with certbot
```bash
sudo certbot --nginx -d nextcloud.shihaam.me
```
- Configure your DNS accordingly and then.. thats it, enjoy.

View File

@ -6,9 +6,24 @@ ln -sv /etc/nginx/sites-available/nextcloud_nginx.conf /etc/nginx/sites-enabled/
#config php
cp -rv default_configs/etc/php /etc/
#Copy nextcloud to web root
cp -rv nextcloud/* /var/www/html/
# Copy nextcloud config.php
cp -rv default_configs/var/www/html/config/ /var/www/html/
#Create log dirs
mkdir -pv /root/logs/nginx
mkdir -pv /root/logs/php-fpm
mkdir -pv /root/logs/nextcloud
mkdir /tmp/nextcloudtemp
chmod -R 777 /tmp/nextcloudtemp
#Change netcloud dir ownership
chown -R www-data:www-data /root/logs/nextcloud/
chown -R www-data:www-data /var/www/html/
touch init/init
echo defaults configs are deployed, please check and change any required configs and restart container
pkill bash

View File

@ -9,8 +9,12 @@ server {
listen 80;
server_name _;
#Logs
access_log /root/logs/nginx/access.log;
error_log /root/logs/nginx/error.log;
# Path to the root of your installation
root /var/www/nextcloud;
root /var/www/html;
# Prevent nginx HTTP Server Detection
server_tokens off;
@ -125,7 +129,7 @@ server {
fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
fastcgi_param front_controller_active true; # Enable pretty urls
fastcgi_pass unix:/run/php/php8.1-fpm.sock;
fastcgi_pass unix:/run/php/php7.4-fpm.sock;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/mysqlnd.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/opcache.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/pdo.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/xml.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/apcu.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/bcmath.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/bz2.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/calendar.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/ctype.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/curl.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/dom.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/exif.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/ffi.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/fileinfo.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/ftp.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/gd.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/gettext.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/gmp.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/iconv.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/igbinary.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/imagick.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/intl.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/json.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/mbstring.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/msgpack.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/mysqli.ini

View File

@ -0,0 +1 @@
../../mods-available/20-pdlib.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/pdo_mysql.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/phar.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/posix.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/readline.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/redis.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/shmop.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/simplexml.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/sockets.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/sysvmsg.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/sysvsem.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/sysvshm.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/tokenizer.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/xmlreader.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/xmlwriter.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/xsl.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/zip.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/memcached.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/mysqlnd.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/opcache.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/pdo.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/xml.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/apcu.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/bcmath.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/bz2.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/calendar.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/ctype.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/curl.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/dom.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/exif.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/ffi.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/fileinfo.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/ftp.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/gd.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/gettext.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/gmp.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/iconv.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/igbinary.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/imagick.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/intl.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/json.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/mbstring.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/msgpack.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/mysqli.ini

View File

@ -0,0 +1 @@
../../mods-available/20-pdlib.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/pdo_mysql.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/phar.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/posix.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/readline.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/redis.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/shmop.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/simplexml.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/sockets.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/sysvmsg.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/sysvsem.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/sysvshm.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/tokenizer.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/xmlreader.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/xmlwriter.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/xsl.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/zip.ini

View File

@ -0,0 +1 @@
/etc/php/7.4/mods-available/memcached.ini

View File

@ -16,14 +16,14 @@
; Default Value: none
; Warning: if you change the value here, you need to modify systemd
; service PIDFile= setting to match the value here.
pid = /run/php/php8.1-fpm.pid
pid = /run/php/php7.4-fpm.pid
; Error log file
; If it's set to "syslog", log is sent to syslogd instead of being written
; into a local file.
; Note: the default prefix is /var
; Default Value: log/php-fpm.log
error_log = /var/log/php8.1-fpm.log
error_log = /root/logs/php-fpm/php-fpm.log
; syslog_facility is used to specify what type of program is logging the
; message. This lets syslogd specify that messages from different facilities
@ -55,7 +55,7 @@ error_log = /var/log/php8.1-fpm.log
; Log buffering specifies if the log line is buffered which means that the
; line is written in a single write operation. If the value is false, then the
; data is written directly into the file descriptor. It is an experimental
; option that can potentially improve logging performance and memory usage
; option that can potentionaly improve logging performance and memory usage
; for some heavy logging scenarios. This option is ignored if logging to syslog
; as it has to be always buffered.
; Default value: yes
@ -142,4 +142,4 @@ error_log = /var/log/php8.1-fpm.log
; Relative path can also be used. They will be prefixed by:
; - the global prefix if it's been set (-p argument)
; - /usr otherwise
include=/etc/php/8.1/fpm/pool.d/*.conf
include=/etc/php/7.4/fpm/pool.d/*.conf

Some files were not shown because too many files have changed in this diff Show More