[email protected] lamp / wget http://hk1.php.net/get/php 7.4.28.tar.gz/...">

当前位置:网站首页>Php7.4.28 installing the pcntl extension

Php7.4.28 installing the pcntl extension

2022-06-24 17:27:00 Yu Qin

1、 Download the same version of php( My is php5.6.27, What I'm doing is php5.6.28)

[[email protected] lamp]# wget http://hk1.php.net/get/php-7.4.28.tar.gz/from/this/mirror

2、 decompression php:

tar -zxvf mirror

3、 Get into php-7.4.28/ext/pcntl/

cd php7.4.28/ext/pcntl/

4、 Carry out orders phpize

[

1: Go to the root directory :cd /
2: lookup phpize:find -name phpize
3: function phpize:/usr/bin/phpize


Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
5、 Execute configuration command php-config

./configure --with-php-config=/usr/bin/php-config

6、 compile make && make install

make && make install

There may be a mistake : Warning : Clock error detected . Your creation may be incomplete .

 resolvent :

 Get into php-5.6.28 Catalog 
sed -i 's|PHP_FE_END|{NULL,NULL,NULL}|' ./ext/**/*.c
sed -i 's|ZEND_MOD_END|{NULL,NULL,NULL}|' ./ext/**/*.c

原网站

版权声明
本文为[Yu Qin]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202211555345698.html