Home  >  Article  >  Backend Development  >  php和java一起做的web项目用thrift做通信后放在什么的服务器软件下可以运行?

php和java一起做的web项目用thrift做通信后放在什么的服务器软件下可以运行?

WBOY
WBOYOriginal
2016-06-06 20:51:131191browse

php和java一起做的web项目用thrift做通信后放在什么的服务器软件下可以运行?

回复内容:

php和java一起做的web项目用thrift做通信后放在什么的服务器软件下可以运行?

不管什么服务器软件,主要是看服务器的环境。

官方指南:
http://thrift.apache.org/docs/install...

PHP -- thrift -- JAVA
thrift只是PHP和JAVA之间的通信层封装,跟你问题中的WEB项目放在什么服务器软件下好象没有什么联系。
如果你的问题是用PHP做CGI要选用哪个web server? 那么nginx或者apache都是不错的选择。

thrift做了分离后,用php和用java做的模块已经分开,部署在不同的容器或是机器上都是可以的,只要能找到对方的进程所在就行

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