Tag: CentOS8/PHP
dnf module reset php dnf install @php:remi-7.4 dnf install @php:remi-7.4/devel dnf install php-gd php-mysqlnd php-opcache php-pecl-mysql php-pecl-zip php-pecl-apcu
systemctl start php-fpm systemctl enable php-fpm
[Date] date.timezone ="Asia/Tokyo" [mbstring] mbstring.language = Japanese mbstring.internal_encoding = UTF-8 mbstring.http_input = auto mbstring.http_output = UTF-8 mbstring.encoding_translation = On mbstring.detect_order = auto mbstring.substitute_character = none mbstring.func_overload = 1
systemctl restart php-fpm
<?php phpinfo(); ?>
user = www-data group = www-data
# chown www-data.www-data /run/php-fpm/www.sock