1.下载跟版本相对应的扩展

  http://br.php.net/downloads.php

2.进入到pcntl目录 

  cd php-5.4.45/ext/pcntl

3.先执行phpize

/usr/local/php/bin/phpize

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

5.make && make install (安装完成)

编辑/etc/php.ini,加入

extension=pcntl.so

启动:
配置环境变量:
export PATH=$PATH:/usr/local/php/bin
再echo $PATH看看

相关文章:

  • 2022-12-23
  • 2021-10-02
  • 2021-07-13
  • 2021-04-25
  • 2021-11-11
  • 2021-11-26
  • 2021-09-22
  • 2021-05-06
猜你喜欢
  • 2021-12-11
  • 2021-12-06
  • 2022-01-13
  • 2021-12-18
  • 2021-11-09
  • 2022-02-07
相关资源
相似解决方案