我正在按照本教程在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中解决此问题?
答案 0 :(得分:9)
sudo apt-get install -y php5.6-dev
做了这个伎俩