Solr的打算througn PHP应用程序时503错误 [英] solr 503 error when going througn php application

查看:160
本文介绍了Solr的打算througn PHP应用程序时503错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的PHP应用程序设置调用本地主机:8983 谈码头/ Solr和返回的搜索结果。

My php application is setup to call localhost:8983 to talk to jetty/solr and return search results.

从浏览器,我能到的Solr:8983 没有任何问题,看到码头/ Solr的运行。

From a browser, I can get to solr:8983 without any issue and see that jetty/solr is running.

PHP应用程序是在Apache上运行。

the php application is running on apache.

Solr的 schema.xml中是否设置正确,直接拷贝。我检查的权限,我能想到的一切。我看不出在Solr的日志或Apache日志东西。

The solr schema.xml is setup correctly, a direct copy. I've checked permissions, everything that I can think of. I don't see anything in the solr logs or the apache logs.

这是我能找到,最 503 错误的问题,其中本地主机:8983 没有运行,但这就够了。

From what I can find, most 503 errors are issues where localhost:8983isn't running, but that is fine for me.

任何想法?为什么我的PHP应用程序交谈码头Solr的本地主机上?

Any ideas? Why doesn't my php application talking to jetty solr over localhost?

推荐答案

一个配置更改php.ini中,改变了allow_url_fopen到在解决了这个。

A configuration change to the php.ini, changing allow_url_fopen to On resolved this.

这篇关于Solr的打算througn PHP应用程序时503错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆