Настройки php сервера для битрикс

for ubuntu server apt install nginx php8.1 php8.1-fpm php8.1-mbstring php8.1-curl php8.1-imap php8.1-mysql php8.1-xml php8.1-xmlrpc php8.1-xsl php8.1-zip php8.1-opcache php8.1-pgsql php8.1-soap php8.1-gd freetype2 mariadb-server mariadb-client nano /etc/php/8.1/fpm/php.ini short_open_tag = On max_input_vars = 10000 memory_limit = 512M zlib.output_compression = On post_max_size = 512M upload_max_filesize = 1G mbstring.internal_encoding = UTF-8 opcache.revalidate_freq=0 nano /etc/php/8.1/fpm/pool.d/www.conf pm.max_children = 16 service php8.1-fpm restart systemctl enable php8.1-fpm.service nano /etc/mysql/mariadb.conf.d/50-server.cnf key_buffer_size = 3G max_allowed_packet = 3G max_connections = 1000 mysql_secure_installation mysql -u root -p CREATE DATABASE base1; CREATE USER 'user1' IDENTIFIED BY 'password1'; GRANT ALL ON base1.* TO 'user1'@localhost IDENTIFIED BY 'password1'; FLUSH PRIVILEGES; exit systemctl restart mariadb.service systemctl enable mariadb.service mkdir /var/www/site.com/ wget https://dev.1c-bitrix.ru/download/scripts/bitrix_server_test.php -P /var/www/site.com wget https://www.1c-bitrix.ru/download/files/scripts/restore.php -P /var/www/site.com //cp /root/bitrix_server_test.php /var/www/site.com/ //cp /root/restore.php /var/www/site.com/ chmod -R 755 /var/www/site.com/ chown -R www-data:www-data /var/www/site.com/ nano /etc/nginx/sites-enabled/site.com.conf systemctl restart nginx.service systemctl enable nginx.service