PHP7[edit]

PHP8から PHP7 へダウングレード(Rocky Linux 9)[edit]

dnf install https://rpms.remirepo.net/enterprise/remi-release-9.rpm
dnf module list php
dnf module enable php:remi-7.4
dnf install php74 php74-php-fpm php74-php-cli
dnf install php74-php-{mysqlnd,curl,gd,mcrypt,json,pear,common,xml,zip,devel,xsl,soap,bcmath,mbstring,gettext,imagick}
dnf rm php-8.0.30
dnf install php

php7.4[edit]

dnf module list php
dnf module reset php
dnf module enable php:7.4 -y
dnf remove php
dnf install php

CentOS7[edit]

Install 7.4.26[edit]

Sodium[edit]
yum install  libsodium libsodium-devel
SQLite3[edit]
yum install libsqlite3x
yum install libsqlite3x-devel
Oniguruma[edit]
git clone https://github.com/kkos/oniguruma.git
cd oniguruma
./autogen.sh
./configure 
make
make install
Configure[edit]
./configure --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd \
         --with-apxs2=/usr/local/apache/bin/apxs \
         --with-openssl  --with-zip --with-zlib \
         --enable-mbstring --with-iconv --enable-intl \
         --enable-soap --enable-pcntl --enable-sockets \
         --with-curl --with-xmlrpc --enable-opcache \
         --with-sodium --enable-exif \
         --enable-gd --with-jpeg --with-png --with-freetype
RAND_EGD[edit]

CentOS6[edit]

Install (7.1)[edit]

CentOS7 (未検証:多分これで行く筈)[edit]

Install (パッケージ 7.1)[edit]

Source[edit]


トップ   新規 ページ一覧 検索 最終更新   ヘルプ   最終更新のRSS