hilfe mein git ist komisch

This commit is contained in:
cutemeli
2026-01-08 18:34:49 +01:00
parent 710537a25d
commit b2d2dce845
4644 changed files with 94994 additions and 1763 deletions

1
etc/psa/.psa.shadow Normal file
View File

@@ -0,0 +1 @@
$AES-128-CBC$f11VSml2zWy/H3VuIWWxyQ==$MwHexEn9hi7minAahvf/aFsasQoo7xhGkc5LaloryRQ=

View File

@@ -0,0 +1,37 @@
#!/bin/bash
### Copyright 1999-2025. WebPros International GmbH. All rights reserved.
PATH=/opt/psa/admin/sbin:$PATH
LANG=C
unset GREP_OPTIONS
umask 022
for variable in "PHP_CLI" "PHP_INI" "PHP_ID"; do
[ -z "${!variable}" ] && not_set="$not_set
$variable"
done
[ -n "$not_set" ] && echo "The following environment variables are empty, this script is not intended to be run outside of php_handlers_control: $not_set" 1>&2 && exit 1
if ! echo "$PHP_ID" | grep -q "^alt-php" ; then
exit 0
fi
if [ "$1" = "add" ]; then
#workaround for bug in CloudLinux package
php_modules_ctl --php-cli "$PHP_CLI" --php-ini "$PHP_INI" -l 2>/dev/null | grep -q "^mysqli "
if [ "$?" -ne 0 ]; then
config=$("$PHP_CLI" -c "$PHP_INI" -r "print(php_ini_scanned_files());" | head -n1 | cut -d"," -f1)
if [ -f "$config" ]; then
#During "yum groupinstall alt-phpXY" scriplet alt-phpXY-mysql-meta runnig after alt-phpXY
#Therefore symlink /opt/alt/phpXY/usr/lib64/php/modules/mysqli.so does not exist yet
#Enable extension manually, without php_modules_ctl
grep -q "^\s*extension=mysqli.so\s*$" "$config" || echo "extension=mysqli.so" >> "$config"
fi
fi
php_modules_ctl --php-cli "$PHP_CLI" --php-ini "$PHP_INI" -e json -e zip -e mysqli
fi

View File

@@ -0,0 +1,6 @@
id=cgi
path=/usr/bin/php-cgi
clipath=/usr/bin/php
phpini=/etc/php/8.3/cgi/php.ini
displayname=$version
type=cgi

View File

@@ -0,0 +1,6 @@
id=fastcgi
path=/usr/bin/php-cgi
clipath=/usr/bin/php
phpini=/etc/php/8.3/cgi/php.ini
displayname=$version
type=fastcgi

View File

@@ -0,0 +1,8 @@
id=fpm
path=/usr/sbin/php-fpm8.3
clipath=/usr/bin/php
phpini=/etc/php/8.3/fpm/php.ini
displayname=$version
type=fpm
service=php8.3-fpm
poold=/etc/php/8.3/fpm/pool.d

View File

@@ -0,0 +1,6 @@
id=module
path=/usr/bin/php-cgi
clipath=/usr/bin/php
phpini=/etc/php/8.3/apache2/php.ini
displayname=$version
type=module

View File

@@ -0,0 +1,6 @@
id=plesk-php74-cgi
clipath=/opt/plesk/php/7.4/bin/php
phpini=/opt/plesk/php/7.4/etc/php.ini
displayname=$version
type=cgi
path=/opt/plesk/php/7.4/bin/php-cgi

View File

@@ -0,0 +1,6 @@
id=plesk-php74-fastcgi
clipath=/opt/plesk/php/7.4/bin/php
phpini=/opt/plesk/php/7.4/etc/php.ini
displayname=$version
type=fastcgi
path=/opt/plesk/php/7.4/bin/php-cgi

View File

@@ -0,0 +1,8 @@
id=plesk-php74-fpm
clipath=/opt/plesk/php/7.4/bin/php
phpini=/opt/plesk/php/7.4/etc/php.ini
displayname=$version
type=fpm
path=/opt/plesk/php/7.4/sbin/php-fpm
poold=/opt/plesk/php/7.4/etc/php-fpm.d
service=plesk-php74-fpm

100
etc/psa/php_versions.json Normal file
View File

@@ -0,0 +1,100 @@
{"php":[
{
"id":"fastcgi",
"path":"/usr/bin/php-cgi",
"clipath":"/usr/bin/php",
"phpini":"/etc/php/8.3/cgi/php.ini",
"version":"8.3.6",
"displayname":"%24version",
"type":"fastcgi",
"system":true
},
{
"id":"cgi",
"path":"/usr/bin/php-cgi",
"clipath":"/usr/bin/php",
"phpini":"/etc/php/8.3/cgi/php.ini",
"version":"8.3.6",
"displayname":"%24version",
"type":"cgi",
"system":true
},
{
"id":"plesk-php74-fastcgi",
"path":"/opt/plesk/php/7.4/bin/php-cgi",
"clipath":"/opt/plesk/php/7.4/bin/php",
"phpini":"/opt/plesk/php/7.4/etc/php.ini",
"version":"7.4.33",
"displayname":"%24version",
"type":"fastcgi",
"system":true
},
{
"id":"module",
"path":"/usr/bin/php-cgi",
"clipath":"/usr/bin/php",
"phpini":"/etc/php/8.3/apache2/php.ini",
"version":"8.3.6",
"displayname":"%24version",
"type":"module",
"system":true
},
{
"id":"plesk-php74-fpm",
"path":"/opt/plesk/php/7.4/sbin/php-fpm",
"clipath":"/opt/plesk/php/7.4/bin/php",
"phpini":"/opt/plesk/php/7.4/etc/php.ini",
"version":"7.4.33",
"displayname":"%24version",
"type":"fpm",
"system":true,
"service":"plesk-php74-fpm",
"poold":"/opt/plesk/php/7.4/etc/php-fpm.d"
},
{
"id":"plesk-php74-fpm-dedicated",
"path":"/opt/plesk/php/7.4/sbin/php-fpm",
"clipath":"/opt/plesk/php/7.4/bin/php",
"phpini":"/opt/plesk/php/7.4/etc/php.ini",
"version":"7.4.33",
"displayname":"%24version",
"type":"fpm",
"system":true,
"service":"plesk-php74-fpm",
"poold":""
},
{
"id":"plesk-php74-cgi",
"path":"/opt/plesk/php/7.4/bin/php-cgi",
"clipath":"/opt/plesk/php/7.4/bin/php",
"phpini":"/opt/plesk/php/7.4/etc/php.ini",
"version":"7.4.33",
"displayname":"%24version",
"type":"cgi",
"system":true
},
{
"id":"fpm",
"path":"/usr/sbin/php-fpm8.3",
"clipath":"/usr/bin/php",
"phpini":"/etc/php/8.3/fpm/php.ini",
"version":"8.3.6",
"displayname":"%24version",
"type":"fpm",
"system":true,
"service":"php8.3-fpm",
"poold":"/etc/php/8.3/fpm/pool.d"
},
{
"id":"fpm-dedicated",
"path":"/usr/sbin/php-fpm8.3",
"clipath":"/usr/bin/php",
"phpini":"/etc/php/8.3/fpm/php.ini",
"version":"8.3.6",
"displayname":"%24version",
"type":"fpm",
"system":true,
"service":"php8.3-fpm",
"poold":""
}
]}

View File

@@ -0,0 +1 @@
;)IJ<>am<61><6D>H<EFBFBD>

111
etc/psa/psa.conf Normal file
View File

@@ -0,0 +1,111 @@
#
### Copyright 1999-2025. WebPros International GmbH. All rights reserved.
#
# This file is used to declare the location of different utilities,
# services, and/or packages within Plesk. No changes should be made
# to this file without first consulting support. Any changes made can
# affect service availability and performance.
#
# Each line in this file follows the following format:
#
# variable [whitespace characters] value
#
# That is, the name of the field, followed by spaces or tabs, followed
# by field value. Trailing spaces are removed.
#
# Plesk tree
PRODUCT_ROOT_D /opt/psa
# Directory of SysV-like Plesk initscripts
PRODUCT_RC_D /etc/init.d
# Directory for config files
PRODUCT_ETC_D /opt/psa/etc
# Directory for service utilities
PLESK_LIBEXEC_DIR /usr/lib/plesk-9.0
# Virtual hosts directory
HTTPD_VHOSTS_D /var/www/vhosts
# Apache configuration files directory
HTTPD_CONF_D /etc/apache2
# Apache include files directory
HTTPD_INCLUDE_D /etc/apache2/conf-enabled
# Deprecated, will be removed. Apache binary
HTTPD_BIN /usr/sbin/apache2
# Apache log files directory
HTTPD_LOG_D /var/log/apache2
# Apache startup script
HTTPD_SERVICE apache2
# Qmail directory
QMAIL_ROOT_D /var/qmail
# Location of qmail maildirs
PLESK_MAILNAMES_D /var/qmail/mailnames
# Path to rblsmtpd
RBLSMTPD /usr/sbin/rblsmtpd
# Bind
NAMED_RUN_ROOT_D /var/named/run-root
# Webalizer
WEB_STAT /usr/bin/webalizer
# MySQL
MYSQL_VAR_D /var/lib/mysql
MYSQL_BIN_D /usr/bin
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
# PostgreSQL
PGSQL_DATA_D /var/lib/postgresql/16/main
PGSQL_CONF_D /etc/postgresql/16/main
PGSQL_BIN_D /usr/lib/postgresql/16/bin
# Backups directory
DUMP_D /var/lib/psa/dumps
# Backups temporary directory. DUMP_TMP_D should not be inside of (or equal to) DUMP_D.
DUMP_TMP_D /tmp
# Mailman directories
MAILMAN_ROOT_D /usr/lib/mailman
MAILMAN_VAR_D /var/lib/mailman
# Python binary
PYTHON_BIN /usr/bin/python2
# GnuPG binary
GPG_BIN /usr/bin/gpg
# Tar binary
TAR_BIN /usr/lib/plesk-9.0/sw-tar
# AWStats
AWSTATS_ETC_D /etc/awstats
AWSTATS_BIN_D /usr/lib/cgi-bin
AWSTATS_TOOLS_D /usr/share/awstats/tools
AWSTATS_DOC_D /usr/share/awstats
# openssl binary
OPENSSL_BIN /usr/bin/openssl
LIB_SSL_PATH /lib/libssl.so
LIB_CRYPTO_PATH /lib/libcrypto.so
CLIENT_PHP_BIN /opt/psa/bin/php-cli
# SNI
SNI_SUPPORT true
# APS controller
APS_DB_DRIVER_LIBRARY /usr/lib/x86_64-linux-gnu/sw/libmysqlserver.so.2.0
# SpamAssassin max mail size (in bytes)
SA_MAX_MAIL_SIZE 256000

111
etc/psa/psa.conf.default Normal file
View File

@@ -0,0 +1,111 @@
#
### Copyright 1999-2025. WebPros International GmbH. All rights reserved.
#
# This file is used to declare the location of different utilities,
# services, and/or packages within Plesk. No changes should be made
# to this file without first consulting support. Any changes made can
# affect service availability and performance.
#
# Each line in this file follows the following format:
#
# variable [whitespace characters] value
#
# That is, the name of the field, followed by spaces or tabs, followed
# by field value. Trailing spaces are removed.
#
# Plesk tree
PRODUCT_ROOT_D /opt/psa
# Directory of SysV-like Plesk initscripts
PRODUCT_RC_D /etc/init.d
# Directory for config files
PRODUCT_ETC_D /opt/psa/etc
# Directory for service utilities
PLESK_LIBEXEC_DIR /usr/lib/plesk-9.0
# Virtual hosts directory
HTTPD_VHOSTS_D /var/www/vhosts
# Apache configuration files directory
HTTPD_CONF_D /etc/apache2
# Apache include files directory
HTTPD_INCLUDE_D /etc/apache2/conf-enabled
# Deprecated, will be removed. Apache binary
HTTPD_BIN /usr/sbin/apache2
# Apache log files directory
HTTPD_LOG_D /var/log/apache2
# Apache startup script
HTTPD_SERVICE apache2
# Qmail directory
QMAIL_ROOT_D /var/qmail
# Location of qmail maildirs
PLESK_MAILNAMES_D /var/qmail/mailnames
# Path to rblsmtpd
RBLSMTPD /usr/sbin/rblsmtpd
# Bind
NAMED_RUN_ROOT_D /var/named/run-root
# Webalizer
WEB_STAT /usr/bin/webalizer
# MySQL
MYSQL_VAR_D /var/lib/mysql
MYSQL_BIN_D /usr/bin
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
# PostgreSQL
PGSQL_DATA_D /var/lib/postgresql/16/main
PGSQL_CONF_D /etc/postgresql/16/main
PGSQL_BIN_D /usr/lib/postgresql/16/bin
# Backups directory
DUMP_D /var/lib/psa/dumps
# Backups temporary directory. DUMP_TMP_D should not be inside of (or equal to) DUMP_D.
DUMP_TMP_D /tmp
# Mailman directories
MAILMAN_ROOT_D /usr/lib/mailman
MAILMAN_VAR_D /var/lib/mailman
# Python binary
PYTHON_BIN /usr/bin/python2
# GnuPG binary
GPG_BIN /usr/bin/gpg
# Tar binary
TAR_BIN /usr/lib/plesk-9.0/sw-tar
# AWStats
AWSTATS_ETC_D /etc/awstats
AWSTATS_BIN_D /usr/lib/cgi-bin
AWSTATS_TOOLS_D /usr/share/awstats/tools
AWSTATS_DOC_D /usr/share/awstats
# openssl binary
OPENSSL_BIN /usr/bin/openssl
LIB_SSL_PATH /lib/libssl.so
LIB_CRYPTO_PATH /lib/libcrypto.so
CLIENT_PHP_BIN /opt/psa/bin/php-cli
# SNI
SNI_SUPPORT true
# APS controller
APS_DB_DRIVER_LIBRARY /usr/lib/x86_64-linux-gnu/sw/libmysqlserver.so.2.0
# SpamAssassin max mail size (in bytes)
SA_MAX_MAIL_SIZE 256000

1
etc/psa/psa.conf.old Normal file
View File

@@ -0,0 +1 @@
#

View File

@@ -0,0 +1 @@
{"version": "3.2.9", "path": "/opt/plesk/ruby/3.2.9"}

View File

@@ -0,0 +1 @@
{"version": "3.3.9", "path": "/opt/plesk/ruby/3.3.9"}

View File

@@ -0,0 +1 @@
{"version": "3.4.5", "path": "/opt/plesk/ruby/3.4.5"}