---
title: "在linux下使用solr的php客户端遇到的问题"
author: "ynial"
date: "2010-08-09T12:58:16Z"
tags: []
categories: ["操作系统"]
slug: "linux-solr-php"
draft: false
lastmod: "2010-08-09T13:09:32Z"
id: 732829
url: "https://ynial.iteye.com/blog/732829"
---

在linux下使用solr的php客户端遇到的问题
1：当我使用solr php客户端的时候 总是受限！
原因是selinux在捣鬼~
需要修改selinux的boolean值 

apache Allow HTTPD scripts and modules to connect to cobbler voer the network!

我这里使用solr端口是8044
添加网络端口 8044 mls/mcs级别为 s0