Home
News
Forum
Wiki
Blog
Contents
Gallery
Movies
Downloads
About NSL
[
List of Titles
|
List of Pages
|
New
|
Search
|
Recent changes
|
Help
]
PHP/PHP7
[
Front page
]
[ ]
Start:
* PHP7
** php7.4
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...
- libzip を削除して、入れなおす
#br
** CentOS7
*** Install 7.4.26
**** Sodium
yum install libsodium libsodium-devel
**** SQLite3
yum install libsqlite3x
yum install libsqlite3x-devel
**** Oniguruma
git clone https://github.com/kkos/oniguruma.git
cd oniguruma
./autogen.sh
./configure
make
make install
**** Configure
./configure --with-mysqli=mysqlnd --with-pdo-mysql=mysql...
--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-freet...
**** RAND_EGD
- リンクで RAND_egd() がないと怒られる.
- 確かに何処にもない.自分でコンパイルした openssl にもな...
- 良く分からんので ./main/php_config.h の #define HAVE_RA...
#br
** CentOS6
*** Install (7.1)
- EPELとRemiリポジトリを使用する
yum install epel-release
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-rele...
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-r...
yum remove php-*
yum install --enablerepo=remi,remi-php73 php php-devel p...
yum install --enablerepo=remi,remi-php73 php-zip php-mys...
#br
** CentOS7 (未検証:多分これで行く筈)
*** Install (パッケージ 7.1)
- EPELとRemiリポジトリを使用する
yum install epel-release
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-rele...
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-r...
yum remove php-*
yum install --enablerepo=remi,remi-php73 php php-devel p...
yum install --enablerepo=remi,remi-php73 php-zip php-mys...
#br
** Source
#br
End:
* PHP7
** php7.4
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...
- libzip を削除して、入れなおす
#br
** CentOS7
*** Install 7.4.26
**** Sodium
yum install libsodium libsodium-devel
**** SQLite3
yum install libsqlite3x
yum install libsqlite3x-devel
**** Oniguruma
git clone https://github.com/kkos/oniguruma.git
cd oniguruma
./autogen.sh
./configure
make
make install
**** Configure
./configure --with-mysqli=mysqlnd --with-pdo-mysql=mysql...
--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-freet...
**** RAND_EGD
- リンクで RAND_egd() がないと怒られる.
- 確かに何処にもない.自分でコンパイルした openssl にもな...
- 良く分からんので ./main/php_config.h の #define HAVE_RA...
#br
** CentOS6
*** Install (7.1)
- EPELとRemiリポジトリを使用する
yum install epel-release
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-rele...
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-r...
yum remove php-*
yum install --enablerepo=remi,remi-php73 php php-devel p...
yum install --enablerepo=remi,remi-php73 php-zip php-mys...
#br
** CentOS7 (未検証:多分これで行く筈)
*** Install (パッケージ 7.1)
- EPELとRemiリポジトリを使用する
yum install epel-release
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-rele...
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-r...
yum remove php-*
yum install --enablerepo=remi,remi-php73 php php-devel p...
yum install --enablerepo=remi,remi-php73 php-zip php-mys...
#br
** Source
#br
Page:
Site Search
Advanced Search
Login
Username:
Password:
Lost Password?
Register now!!
Sub Menu
New Arrivals
Books
Web Links
Site Map
e-Learning
TUIS Certificate
mini Calendar
Apr 2024
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
142 user(s) are online (18 user(s) are browsing xpwiki)
Members: 0
Guests: 142
more...
Access Counter
Today :
Yesterday :
Total :
Powered by XOOPS Cube 2.1© 2001-2006
XOOPS Cube Project
Design by
XoopsDesign.com