安装 php5-dev Ubuntu 16.04

Install php5-dev Ubuntu 16.04

我正在按照本教程在 php 5.6 中启用线程安全。 https://blog.bensoer.com/compile-thread-safe-php-5-6-20-from-source/ 但是当我执行 sudo apt-get install -y php5-dev 它给了我以下输出。

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package php5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'php5-dev' has no installation candidate

如何在 Ubuntu 16.04 中解决此问题?

sudo apt-get install -y php5.6-dev 成功了