4: 2022-09-05 (月) 16:18:12 iseki  |
現: 2023-08-17 (木) 13:45:21 iseki  |
| * PHP7 [#o8968616] | | * PHP7 [#o8968616] |
- | *** php7.4 [#sb2a986d] | + | ** php7.4 [#sb2a986d] |
| dnf module list php | | dnf module list php |
| dnf module reset php | | dnf module reset php |
| 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 | | 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 を削除して、入れなおす | | - libzip を削除して、入れなおす |
| + | #br |
| + | |
| + | ** CentOS7 [#m89e8cdc] |
| + | *** Install 7.4.26 [#x3e97eb1] |
| + | |
| + | **** Sodium [#w7c198c5] |
| + | yum install libsodium libsodium-devel |
| + | **** SQLite3 [#p882f0ef] |
| + | yum install libsqlite3x |
| + | yum install libsqlite3x-devel |
| + | |
| + | **** Oniguruma [#s1d459a4] |
| + | git clone https://github.com/kkos/oniguruma.git |
| + | cd oniguruma |
| + | ./autogen.sh |
| + | ./configure |
| + | make |
| + | make install |
| + | **** Configure [#nf8400dd] |
| + | ./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 [#r2621d62] |
| + | - リンクで RAND_egd() がないと怒られる. |
| + | - 確かに何処にもない.自分でコンパイルした openssl にもない. |
| + | - 良く分からんので ./main/php_config.h の #define HAVE_RAND_EGD 1 をコメントアウト.大丈夫かな? |
| #br | | #br |
| | | |
| ** CentOS6 [#se167466] | | ** CentOS6 [#se167466] |
| + | |
| *** Install (7.1) [#q7ec32f4] | | *** Install (7.1) [#q7ec32f4] |
| - EPELとRemiリポジトリを使用する | | - EPELとRemiリポジトリを使用する |
| rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm | | 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 | | rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm |
| + | |
| yum remove php-* | | 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 php-devel php-mbstring php-pdo php-gd php-xml php-mcrypt |
| ** CentOS7 (未検証:多分これで行く筈) [#l7be8d8b] | | ** CentOS7 (未検証:多分これで行く筈) [#l7be8d8b] |
| | | |
- | *** Install (7.1) [#rf354955] | + | *** Install (パッケージ 7.1) [#rf354955] |
| - EPELとRemiリポジトリを使用する | | - EPELとRemiリポジトリを使用する |
| yum install epel-release | | yum install epel-release |
| rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm | | 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 | | rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm |
| + | |
| yum remove php-* | | 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 php-devel php-mbstring php-pdo php-gd php-xml php-mcrypt |