User Tools

Site Tools


php_8.3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
php_8.3 [2024/07/20 16:48] ryasphp_8.3 [2024/07/21 08:29] (current) ryas
Line 1: Line 1:
 ====== Установка php 8.3 ====== ====== Установка php 8.3 ======
-yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm +yum install -y https://rpms.remirepo.net/enterprise/remi-release-7.rpm\\ 
-yum install -y yum-utils +yum install -y yum-utils\\ 
-yum-config-manager --disable 'remi-php*' +yum-config-manager --disable 'remi-php*'\\ 
-yum-config-manager --enable remi-php83 +yum-config-manager --enable 'remi-php83'\\ 
-yum install -y php php-cli php-common +yum install -y php php-cli php-common\\ 
-yum install -y php-{mysqlnd,curl,gd,mcrypt,json,pear,common,xml,zip,devel,xsl,soap,bcmath,mbstring,gettext,imagick} +yum install -y php-{mysqlnd,curl,gd,mcrypt,json,pear,common,xml,zip,devel,xsl,soap,bcmath,mbstring,gettext,imagick}\\ 
-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/L=SPb/O=Global Security/OU=IT Department/CN=test.dmosk.local/CN=test"\\ 
 +apachectl -M | grep ssl\\ 
 +yum install mod_ssl\\ 
 +vi conf.d/site.conf 
 +    <VirtualHost *:443> 
 +      SSLEngine on 
 +      SSLCertificateFile ssl/cert.pem 
 +      SSLCertificateKeyFile ssl/cert.key 
 +    </VirtualHost> 
 +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.1721494135.txt.gz · Last modified: 2024/07/20 16:48 by ryas