doulu7174
2014-05-20 06:15
浏览 58
已采纳

使用MySQL 5.6版从源代码编译PHP

I am trying to compile PHP from source to get ZTS working. I have the source for PHP and I try to install the dependencies with

apt-get build-dep php5

I also have MySQL 5.6 installed for Ubuntu 14.04LTS and I am getting this error after the command:

The following packages have unmet dependencies: mysql-server : Depends: mysql-server-5.5 but it is not going to be installed E: Build-dependencies for php5 could not be satisfied.

Is there anyway to bypass this dependency as MySQL 5.6 works ok with prebuilt PHP5 but I cannot start compiling as the dependency is missing? Thanks!

图片转代码服务由CSDN问答提供 功能建议

我正在尝试从源代码编译PHP以使ZTS正常工作。 我有PHP的源代码,我尝试使用

apt-get build-dep php5 \安装依赖项 n

我也为Ubuntu 14.04LTS安装了MySQL 5.6,我在命令后收到此错误:

以下软件包有未满足的依赖项: mysql -server:取决于:mysql-server-5.5但它不会被安装 E:无法满足php5的构建依赖性。

是 无论如何都要绕过这种依赖,因为MySQL 5.6与预构建的PHP5一起工作正常,但我无法开始编译,因为依赖项丢失了? 谢谢!

  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

5条回答 默认 最新

相关推荐 更多相似问题