php_8.3
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| php_8.3 [2024/07/20 16:48] – created ryas | php_8.3 [2024/07/21 08:29] (current) – ryas | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Установка php 8.3 ====== | ====== Установка php 8.3 ====== | ||
| - | //yum install -y https:// | + | yum install -y https:// |
| - | yum install -y yum-utils | + | yum install -y yum-utils\\ |
| - | yum-config-manager --disable ' | + | yum-config-manager --disable ' |
| - | yum-config-manager --enable remi-php83 | + | yum-config-manager --enable |
| - | yum install -y php php-cli php-common | + | yum install -y php php-cli php-common\\ |
| - | yum install -y php-{mysqlnd, | + | yum install -y php-{mysqlnd, |
| - | systemctl restart httpd && systemctl status httpd | + | systemctl restart httpd && systemctl status httpd\\ |
| - | // | + | |
| + | ====== SSL в apache ====== | ||
| + | openssl req -new -x509 -days 1461 -nodes -out cert.pem -keyout cert.key -subj "/C=RU/ST=SPb/ | ||
| + | apachectl -M | grep ssl\\ | ||
| + | yum install mod_ssl\\ | ||
| + | vi conf.d/ | ||
| + | < | ||
| + | SSLEngine on | ||
| + | SSLCertificateFile ssl/ | ||
| + | SSLCertificateKeyFile ssl/ | ||
| + | </ | ||
| + | apachectl configtest\\ | ||
| + | apachectl graceful\\ | ||
| + | systemctl restart httpd && systemctl status httpd\\ | ||
| + | |||
| + | ====== Let's encrypt ====== | ||
| ====== Настройка firewall для работы apache ====== | ====== Настройка firewall для работы apache ====== | ||
| - | //firewall-cmd --zone=public --permanent --add-service=http | + | firewall-cmd --zone=public --permanent --add-service=http\\ |
| - | firewall-cmd --zone=public --permanent --add-service=https | + | firewall-cmd --zone=public --permanent --add-service=https\\ |
| - | firewall-cmd --reload | + | firewall-cmd --reload\\ |
| - | // | + | |
php_8.3.1721494116.txt.gz · Last modified: 2024/07/20 16:48 by ryas