Jelenlegi hely

Apache httpd php+fpm

Az aapche Web Szerver PHP+FPM konfigurálása CentOS/RedHat/Fedora Linux esetén:

yum -y install php-fpm

vi /etc/httpd/conf.d/php.conf
< FilesMatch \.php$ >
# SetHandler application/x-httpd-php
SetHandler "proxy:fcgi://127.0.0.1:9000"
< /FilesMatch >

systemctl start php-fpm
systemctl enable php-fpm
systemctl restart httpd

# Teszt: echo '<?php phpinfo(); ?>' > /var/www/html/info.php

Theme by me