Re: [PHP-DEV] Resource problem affecting Curl functions

2006-09-28 Thread Richard Lynch
On Thu, September 21, 2006 10:28 am, Mark Krenz wrote: > $ch = curl_init("http://www.cnn.com/";); > $fp = fopen("example_homepage.txt", "w"); In the realm of Voodoo Programming, but worth a shot nonetheless... curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://www.cnn.com'); I vaguely recall a

Re: [PHP-DEV] Resource problem affecting Curl functions

2006-09-22 Thread Markus Fischer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Krenz wrote: > To follow up on this, it might be a problem that was fixed in a more > recent version of PHP. Or at least in the curl code. > > I ran a test on a recent Gentoo Linux machine running Apache 2.0.54, > PHP 5.1.4 and Linux 2.6.15

Re: [PHP-DEV] Resource problem affecting Curl functions

2006-09-21 Thread Mark Krenz
To follow up on this, it might be a problem that was fixed in a more recent version of PHP. Or at least in the curl code. I ran a test on a recent Gentoo Linux machine running Apache 2.0.54, PHP 5.1.4 and Linux 2.6.15 with 10,000 vhosts in one vhost.conf file and the curl test ran fine. A l

Re: [PHP-DEV] Resource problem affecting Curl functions

2006-09-21 Thread Mark Krenz
I really can't upgrade right now. Basically, I'd be risking breaking the machine because I'd have to upgrade to a newer support version of Fedora that might have some incompatibilities with some custom packages I've setup and end up having way too much downtime. Even if it was at 3 in the morn

Re: [PHP-DEV] Resource problem affecting Curl functions

2006-09-21 Thread Richard Quadling
On 21/09/06, Mark Krenz <[EMAIL PROTECTED]> wrote: I sent this to the php-general mailing list but nobody seemed to be able to help me there. I run a shared webserver with a few hundred vhost containers in Apache's config. Recently I got to a point where I added enough vhosts to cause a pr

[PHP-DEV] Resource problem affecting Curl functions

2006-09-21 Thread Mark Krenz
I sent this to the php-general mailing list but nobody seemed to be able to help me there. I run a shared webserver with a few hundred vhost containers in Apache's config. Recently I got to a point where I added enough vhosts to cause a problem with curl functions in PHP. Basically, when PH