当前位置:网站首页>PHP installation spool supports dtls protocol
PHP installation spool supports dtls protocol
2022-07-26 03:56:00 【KunkkaWu】
upgrade GCC
- install centos-release-scl
sudo yum install centos-release-scl- install devtoolset
sudo yum install devtoolset-8-gcc*- Activate the corresponding devtoolset
scl enable devtoolset-8 bash- View version
gcc -vInstall new version Openssl
- Download new version Openssl
wget https://github.com/openssl/openssl/archive/OpenSSL_1_1_1-stable.zip
unzip OpenSSL_1_1_1-stable.zip- Entry directory , Specify installation path , compile
./configure --prefix=/usr/local/openssl // Specify installation path
make && make install- Replace the old version of the current system openssl 「 Save the original 」
mv /usr/bin/openssl /usr/bin/openssl.old
mv /usr/lib64/openssl /usr/lib64/openssl.old
mv /usr/lib64/libssl.so /usr/lib64/libssl.so.old
ln -s /usr/local/openssl/bin/openssl /usr/bin/openssl
ln -s /usr/local/openssl/include/openssl /usr/include/openssl
ln -s /usr/local/openssl/lib/libssl.so /usr/lib64/libssl.so
echo "/usr/local/openssl/lib" >> /etc/ld.so.conf
ldconfig -v - View version
openssl versionInstall new version PHP 7.3.16
- download php7.3.16, decompression wget https://www.php.net/distributions/php-7.3.16.tar.gz tar -zxvf php-7.3.16.tar.gz
- Entry directory , Specify the installation directory
./configure --prefix=/usr/local/php7 --with-openssl-dir=/usr/local/openssl/ --with-openssl --enable-fpm --disable-fileinfo --with-config-file-path=/usr/local/php7/etc --with-config-file-scan-dir=/usr/local/php7/etc/php.d- Make && Make Install
make && make install- To configure php-fpmcd /usr/local/php7/etc/ mv php-fpm.conf.default php-fpm.conf cd php-fpm.d mv www.conf.default www.conf
- To configure php.ini
cd ~/php-7.3.16 # Get into php Package directory
cp php.ini-production /usr/local/php7/etc/php.ini- Turn on php-fpm
/usr/local/php7/sbin/php-fpminstall Swoole 4.5.0
- Download new version Swoole
git clone https://github.com/swoole/swoole-src.git- Enter directory compilation
/usr/local/php7/bin/phpize && ./configure --with-openssl-dir=/usr/local/openssl/ --with-php-config=/usr/local/php7/bin/php-config && make && sudo make install- add to extension=swoole.so To php.ini
vi /usr/local/php7/etc/php.ini
extension=swoole.so- View installed swoole situation
/usr/local/php7/bin/php --ri swoole[[email protected] swoole-src]# /usr/local/php7/bin/php --ri swoole
swoole
Swoole => enabled
Author => Swoole Team <[email protected]>
Version => 4.5.0-alpha
Built => Apr 2 2020 01:37:54
coroutine => enabled
epoll => enabled
eventfd => enabled
signalfd => enabled
cpu_affinity => enabled
spinlock => enabled
rwlock => enabled
openssl => OpenSSL 1.1.1d 10 Sep 2019
pcre => enabled
zlib => 1.2.7
mutex_timedlock => enabled
pthread_barrier => enabled
futex => enabled
async_redis => enabled
Directive => Local Value => Master Value
swoole.enable_coroutine => On => On
swoole.enable_library => On => On
swoole.enable_preemptive_scheduler => Off => Off
swoole.display_errors => On => On
swoole.use_shortname => On => On
swoole.unixsock_buffer_size => 8388608 => 8388608边栏推荐
猜你喜欢

资深报表开发经验总结:明白这一点,没有做不好的报表

Moco V2: further upgrade of Moco series

涂鸦幻彩产品开发包如何使用

苹果在其产品中拿掉了最后一颗Intel芯片

ACM mm 2022 | end to end multi granularity comparative learning for video text retrieval

CPU and GPU are out of date, and the era of NPU and APU begins

Opencv learning notes - edge detection and Canny operator, Sobel operator, lapiacian operator, ScHARR filter

【读书笔记->数据分析】01 数据分析导论

The B2B2C multi merchant system has rich functions and is very easy to open

1311_硬件设计_ICT概念、应用以及优缺点学习小结
随机推荐
[class and object instances in kotlin]
Summary of basic knowledge of C language pointer (I)
JS Base64 encoding and decoding
waf详解
安装VMware报错failed to install the hcmon driver
PHP connects to MySQL database, and database connects to static tool classes to simplify the connection.
【云原生之kubernetes】kubernetes集群下ConfigMap使用方法
Worked overtime for a week to develop a reporting system. This low code free it reporting artifact is very easy to use
容器跑不动?网络可不背锅
基于JSP实现网上商城系统
KBPC1510-ASEMI大芯片15A整流桥KBPC1510
ACM mm 2022 | end to end multi granularity comparative learning for video text retrieval
苹果在其产品中拿掉了最后一颗Intel芯片
Moco V2: further upgrade of Moco series
电商运营小白,如何快速入门学习数据分析?
A large factory developed and tested one, and strangled its neck with a mouse line
Bracket nesting problem (recommended Collection)
Operator new, operator delete supplementary handouts
Six years of automated testing from scratch, I don't regret turning development to testing
[mathematical modeling - Summary of planning model] | matlab solution