phpize在ubuntu 16.04 LTS中不起作用

时间:2019-12-11 10:08:23

标签: php ubuntu-16.04

我无法使用在不同工作中需要的phpize。

$ phpize
The program 'phpize' is currently not installed. You can install it by typing:
sudo apt install php7.0-dev

由于输出建议我运行“ sudo apt install php7.0-dev”。因此,运行它后,我得到了

xxx:/etc/php$ sudo apt-get install php7.0-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
php7.0-dev is already the newest version (7.0.33-13+ubuntu16.04.1+deb.sury.org+1).
0 upgraded, 0 newly installed, 0 to remove and 95 not upgraded.
29 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
xxx:/etc/php$ phpize
The program 'phpize' is currently not installed. You can install it by typing:
sudo apt install php7.0-dev

当前使用的php版本-:

xxx:/etc/php$ php -v
PHP 7.2.25-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Nov 28 2019 07:41:59) ( NTS )

0 个答案:

没有答案