我遵循本教程在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
成功了