Interesting,

Quick Google searches on

   1. "with-curl" "If you did not receive a copy of the PHP license, or
   have any questions about PHP licensing, please contact [email protected]"
   2. "without-curl" "If you did not receive a copy of the PHP license, or
   have any questions about PHP licensing, please contact [email protected]"

Suggests about 90% (947,000 vs 98,400) of sites that make the mistake of
exposing php info have curl installed.

Thanks Jochen.

On Thu, Jun 7, 2012 at 3:16 PM, Jochen Daum <[email protected]> wrote:

> Hi,
>
>
>
>
> On 7 June 2012 14:33, Bruce Clement <[email protected]> wrote:
>
>> One of my side projects is resurrecting an ancient PHP directory script
>> (an old GPL 2 version of something that's later versions have been made
>> closed source by the original author). My revised version is publicly
>> available but not yet promoted.
>>
>> The original project checked URLs with its own logic using sockets and
>> file reads. Unfortunately it's either buggy or isn't very compatible with
>> modern PHP and I want to replace it rather than repair it.
>>
>> My preference is the cURL library but I just discovered that it isn't
>> available by default in Debian 6.0.5's Php stack (I've just switched my
>> debugging there from Wheezy because of the xdebug / php 5.4 incompatibility
>> issue).
>
>
>> Yes I know it can be easily installed with Pecl or apt-get, but these
>> often aren't available to ordinary webmasters in shared hosting
>> environments.
>>
>> Before going too far down this path I'd like to know how much I'm
>> limiting my potential audience.
>>
>> Does anyone know how common cURL is in mainstream LAMP stacks, or know a
>> page giving this in a nice summary form? I know it's in Centos and missing
>> from Squeeze.
>>
>
> Here are some stats:
>
> http://serverfault.com/questions/262755/statistics-about-php-setups-what-extensions-are-installed-by-default
>
>
>>
>> Is there a better (more portable) option? (Must be GPL 2 compatible)
>>
>>
> P.S.: We're hiring - PHP Application Developer http://bit.ly/LFyA7X
>
> Kind Regards,
>
> Jochen Daum
>
> "There is no shortcut to anywhere worth going" - Beverly Sills
>
> Automatem Ltd
> Phone: +64 9 630 3425
> Mobile: +64 21 567 853
> Email: [email protected]
> Website: www.automatem.co.nz
> Skype: jochendaum
> http://nz.linkedin.com/in/automatem
> http://twitter.com/automatem
>
>
>> Thanks
>>
>> Bruce
>>
>> PS I'm having a bad day today. This is my 3rd attempt to send this. Wrong
>> return address, wrong to address & hopefully 3rd time's lucky.
>>
>>
>> --
>> Bruce Clement
>>
>> Home:    http://www.clement.co.nz/
>> Twitter:    http://twitter.com/Bruce_Clement
>> Directory: http://www.searchme.co.nz/
>>
>> "Before attempting to create something new, it is vital to have a good
>> appreciation of everything that already exists in this field." Mikhail
>> Kalashnikov
>>
>> --
>> NZ PHP Users Group: http://groups.google.com/group/nzphpug
>> To post, send email to [email protected]
>> To unsubscribe, send email to
>> [email protected]
>>
>
>  --
> NZ PHP Users Group: http://groups.google.com/group/nzphpug
> To post, send email to [email protected]
> To unsubscribe, send email to
> [email protected]
>



-- 
Bruce Clement

Home:    http://www.clement.co.nz/
Twitter:    http://twitter.com/Bruce_Clement
Directory: http://www.searchme.co.nz/

"Before attempting to create something new, it is vital to have a good
appreciation of everything that already exists in this field." Mikhail
Kalashnikov

-- 
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]

Reply via email to