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:54] ryasphp_8.3 [2024/07/21 08:29] (current) ryas
Line 7: Line 7:
 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 ======
php_8.3.1721494475.txt.gz · Last modified: 2024/07/20 16:54 by ryas