如何在ubuntu 15上安装pcntl扩展

时间:2015-10-13 15:18:17

标签: php ubuntu pcntl

我正在尝试在ubuntu 15上安装pcntl,我试图获取php5源代码时得到这个。

我正在休假的程序是

sudo apt-get source php5
cd php5(release version)/ext/pcntl
sudo phpize
sudo ./configure
sudo make
sudo make install

但是

sudo apt-get source php5

我正在

Reading package lists... Done
Building dependency tree
Reading state information... Done
NOTICE: 'php5' packaging is maintained in the 'Git' version control system at:
git://anonscm.debian.org/pkg-php/php.git
WARNING: The following packages cannot be authenticated!
  php5
E: Some packages could not be authenticated

服务器是ubuntu服务器15.04

PHP 5.6.4-4ubuntu6.3(cli)(建于2015年9月29日12:44:47)

有人可以帮我吗?

1 个答案:

答案 0 :(得分:0)

我有同样的问题,请先在终端尝试:     sudo add-apt-repository ppa:ondrej/php5-5.6

相关问题