On Fri, Aug 19, 2011 at 12:15 AM, Cupbearer <jcr...@inforeverse.com> wrote: > What are the Prerequite libraries required to get Solr to work in Php. > Php.net has libxml2 and libcurlx I think (off the top of my head) I have > those installed correctly and I can get to my Solr/admin page from a browser > just fine and ping and all of those things just fine from within the browser. [...]
In that case, it is clearly not a Solr issue per se. It is not clear from your description how you are trying to access Solr from PHP: Are you using one of the existing PHP/Solr interfaces, or simply making calls to the Solr Web interface? > Gora, that is the version of php that is running on my box, 5.3.2 from your > google link. Xampp has 5.3.6 running. The only difference that I can see > from a comparison of the two phpinfo() files is the linux box is missing > mysqlnd (mysql native drivers) which I think is needed for fsock connections. > (but I’m not sure, my google reading) The problem is that to get mysqlnd > into my php I would have to compile it that way from scratch as there doesn’t > seem to be a way to add it after the fact. I would hate to get all the way > down the road of compiling php from source just to have that not be the > problem. There doesn’t seem to be a repo for 5.3.6 on centos 6 either, the > ius repos only have 5.3.6 for centos 5.6 which is using old libxml2 and > libcurl libraries when I checked those. Not very sure, but I think that the OS packages should include everything needed, and in general, it is not a good idea to mix and match different versions of libraries. I am not a PHP developer, but think that mysqlnd is not absolutely required for accessing mysql from PHP. In any case, interfacing PHP with mysql is a separate problem that is definitely off-topic here. You could try asking on a PHP/mysql list. > So, back to the question, what are the prerequisites for getting php and solr > to talk nice to each other? [...] Sorry, do not know the answer to that, other than there are several PHP interfaces to Solr available: Please try searching Google for "PHP Solr". Regards, Gora