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.  But, 
when I attempt this from within my app and php I’m getting nothing.  It works 
in a windows xampp development environment so I know it’s not my php code.

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.

So, back to the question, what are the prerequisites for getting php and solr 
to talk nice to each other?

Thanks,



From: Gora Mohanty-3 [via Lucene] 
[mailto:ml-node+3265825-685554002-413...@n3.nabble.com]
Sent: Thursday, August 18, 2011 11:35 AM
To: Jerry E. Craig, Jr.
Subject: Re: Stable Linux Release

On Thu, Aug 18, 2011 at 11:48 PM, Cupbearer <[hidden 
email]</user/SendEmail.jtp?type=node&node=3265825&i=0>> wrote:
> I’m not sure where a better place would be.  The problems I seem to be having 
> revolve around having the right prerequisites installed in my Apache and Php 
> installs to get this done.  I’m unsure that a Generic Linux forum would know 
> and understand the Solr prerequisites better than the Solr community.
[...]

Yes, you are probably right that someone who has installed Solr on
the particular OS might know the pre-requisites. However, people
here might not be using your current OS (CentOS 6.0?). Also, it
is not clear if this is a missing Solr component: From your description,
it sounds like what is missing is the PHP module for interfacing with
mysql. A CentOS-specific list would probably be able to tell you what
packages you are missing: From a casual Google search, it would
seem that the package you need is php-mysql:
http://rpm.pbone.net/index.php3/stat/4/idpl/16646360/dir/centos_6/com/php-mysql-5.3.2-6.el6_0.1.i686.rpm.html

Maybe this will also be of help: http://library.linode.com/lamp-guides/centos-6

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-tp3263876p3265825.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-tp3263876p3265859.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to