No, curl support is compiled into PHP and is extremely
stable so there's no
command shell or POSIX stability issues to deal with -- just
direct C
interfacing.
Also, there is a way for PHP to talk to HTTP directly --
while I can post
that method, it's probably not necessary. The curl
libraries have been
included in most PHP distros for quite some time and are
simply superior to
any other method of sending and receiving data over HTTP
sockets.
Without attempting to generalize too much, there aren't too
many reasons
that one shouldn't have curl support enabled on their PHP
distribution.
Brian
-----Original Message-----
From: Erik Hatcher [mailto:erik ehatchersolutions.com]
Sent: Wednesday, June 28, 2006 9:35 PM
To: solr-user lucene.apache.org
Subject: Re: Java or PHP code to trigger solr?
On Jun 28, 2006, at 5:26 PM, Brian Lucas wrote:
> Ok, I uploaded the initial versions: http://wiki.apache.org/s
olr/
> SolPHP
Wow, so you shell to "curl". Interesting!
Surely there is a PHP
way to simply talk HTTP directly? (never having code a line
of PHP
ever)
Erik
|