flagflag  
Page Top

php7.4 anchor.png

dnf module list php
dnf module reset php
dnf module enable php:7.4 -y
dnf remove php
dnf install php
  • 7.4 にしたら php-zip がない とか言われる。
    HP Warning:  PHP Startup: Unable to load dynamic library 'zip.so' (tried: /usr/lib64/php/modules/zip.so (/usr/lib64/php/modules/zip.so: undefined symbol: zip_register_cancel_callback_with_state), /usr/lib64/php/modules/zip.so.so (/usr/lib64/php/modules/zip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
  • libzip を削除して、入れなおす
     
Page Top

CentOS7 anchor.png

Page Top

Install 7.4.26 anchor.png

Page Top
Sodium anchor.png
yum install  libsodium libsodium-devel
Page Top
SQLite3 anchor.png
yum install libsqlite3x
yum install libsqlite3x-devel
Page Top
Oniguruma anchor.png
git clone https://github.com/kkos/oniguruma.git
cd oniguruma
./autogen.sh
./configure 
make
make install
Page Top
Configure anchor.png
./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
Page Top
RAND_EGD anchor.png
  • リンクで RAND_egd() がないと怒られる.
  • 確かに何処にもない.自分でコンパイルした openssl にもない.
  • 良く分からんので ./main/php_config.h の #define HAVE_RAND_EGD 1 をコメントアウト.大丈夫かな?
     
Page Top

CentOS6 anchor.png

Page Top

Install (7.1) anchor.png

  • EPELとRemiリポジトリを使用する
    yum install epel-release
    rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
    rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
    
    yum remove php-*
    yum install --enablerepo=remi,remi-php73 php php-devel php-mbstring php-pdo php-gd php-xml php-mcrypt 
    yum install --enablerepo=remi,remi-php73 php-zip php-mysqli php-intl php-xmlrpc php-soap php-opcache   (for Moodle)
     
Page Top

CentOS7 (未検証:多分これで行く筈) anchor.png

Page Top

Install (パッケージ 7.1) anchor.png

  • EPELとRemiリポジトリを使用する
    yum install epel-release
    rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
    
    yum remove php-*
    yum install --enablerepo=remi,remi-php73 php php-devel php-mbstring php-pdo php-gd php-xml php-mcrypt
    yum install --enablerepo=remi,remi-php73 php-zip php-mysqli php-intl php-xmlrpc php-soap php-opcache   (for Moodle)
 
Page Top

Source anchor.png

 

Front page   Freeze Diff Backup Copy Rename Reload   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)
Counter: 1002, today: 4, yesterday: 4
Last-modified: 2023-08-17 (Thu) 13:45:21 (JST) (245d) by iseki

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthApr 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Today

Who's Online

64 user(s) are online (5 user(s) are browsing xpwiki)

Members: 0
Guests: 64

more...

Access Counter

Today : 5754575457545754
Yesterday : 8008800880088008
Total : 2328139023281390232813902328139023281390232813902328139023281390
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com