Since this doesn’t seem to be something that the community is interested in answering could they at least point me to some sort of documentation somewhere or the appropriate forum to ask this question? Or is everyone just compiling php from source if they have made it this far and decided to use Solr for their search engine? I just check the ius repo for php53 on my centos56 box and it installs 5.3.3 so still not up to 5.3.6 and it’s still missing the mysqlnd switch? Php.net says that the native directory should be standard in 5.3.x but centos doesn’t seem to think it’s necessary, could the lack of this be my problem?
From: Gora Mohanty-3 [via Lucene] [mailto:ml-node+3265906-721974907-413...@n3.nabble.com] Sent: Thursday, August 18, 2011 12:04 PM To: Jerry E. Craig, Jr. Subject: Re: Stable Linux Release On Fri, Aug 19, 2011 at 12:15 AM, Cupbearer <[hidden email]</user/SendEmail.jtp?type=node&node=3265906&i=0>> 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 ________________________________ If you reply to this email, your message will be added to the discussion below: http://lucene.472066.n3.nabble.com/Stable-Linux-Release-tp3263876p3265906.html To unsubscribe from Stable Linux Release, click here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3263876&code=amNyYWlnQGluZm9yZXZlcnNlLmNvbXwzMjYzODc2fDIwNzY2MjM2OTU=>. ----- Cupbearer Jerry E. Craig, Jr. -- View this message in context: http://lucene.472066.n3.nabble.com/Stable-Linux-Release-tp3263876p3265966.html Sent from the Solr - User mailing list archive at Nabble.com.