Home >Backend Development >PHP Tutorial >linux - 编译php时,mysql在另外一台主机怎么办? –with-mysql这个参数怎么设置?

linux - 编译php时,mysql在另外一台主机怎么办? –with-mysql这个参数怎么设置?

WBOY
WBOYOriginal
2016-06-06 20:20:261246browse

我需要在nginx-web主机编译php,但是数据库在另外一台主机,请问我该如何设置–with-mysql这个参数?

回复内容:

我需要在nginx-web主机编译php,但是数据库在另外一台主机,请问我该如何设置–with-mysql这个参数?

其实你web服务器只需要安装mysql client

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn