apache 64位 整合php 64位 的问题
环境是:
Apache/2.4.7 (Win64) PHP/5.5.7
MSVC11 (Visual C++ 2012)
整合模块是:
用mod_jk1.2.30_x64 的mod_jk.so
httpd.conf中
#Include D:/php/apache/conf/mod_jk.conf
mod_jk.conf中
LoadModule jk_module modules/mod_jk.so
JkWorkersFile "D:/java/tomcat/conf/workers.properties"
JkLogFile "D:/php/apache/logs/mod_jk.log"
JkMount /*.jsp ajp13
JkMount /*.do ajp13
workers.properties中
# Defining a worker named worker1 and of type ajp13
worker.list=worker1
# Set properties for worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
[解决办法]
另外一个帖子回你了。apache+tomcat是需要mod_jk的