[PHP] MySQL client version problem

2009-01-05 Thread Rene Fournier
After following some instructions on compiling PHP 5.2.8 from source ( http://osx.topicdesk.com/content/view/48/62/ ), I notice now that phpinfo() reports that I am running the MySQL client API version 4.1.22 (instead of 5.0.45). Is this something to do with how you compile PHP, or does it

Re: [PHP] MySQL client version problem

2009-01-05 Thread Rene Fournier
Thing is, I have MySQL 5.0.67 installed, and I've never had MySQL 4 on this box (Xserve G5, Mac OS X Server 10.4.11). Here's my configure command: ./configure --prefix=/usr/local/php5 --mandir=/usr/share/man -- infodir=/usr/share/info --with-apxs --with-ldap=/usr --with-kerberos=/ usr

[PHP] Regular expressions (regex) question for parsing

2008-12-22 Thread Rene Fournier
Hi, I'm looking for some ideas on the best way to parse blocks of text that is formatted such as: $sometext %\r\n -- good data $otherstring %\r\n -- good data $andyetmoretext %\r\n

[PHP] Instructions on compiling PHP 5.2.8 for Mac OS X Server 10.4.11

2008-12-12 Thread Rene Fournier
Since Marc Liyange hasn't updated his binary since 5.2.4, I've been looking for some instructions on building my own, specifically the latest 5.2.8 source for 10.4 Server. Google doesn't turn up anything for me. Anyone have a good link? ...Rene -- PHP General Mailing List

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Rene Fournier
On 20-Nov-08, at 2:59 AM, Nathan Rixham wrote: Rene Fournier wrote: On 19-Nov-08, at 12:52 PM, Nathan Rixham wrote: Rene Fournier wrote: Hi, I have four identical command-line PHP scripts running, and each will frequently fetch some data from another server via file_get_contents

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Rene Fournier
On 20-Nov-08, at 9:56 AM, Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 11:50 AM, Rene Fournier [EMAIL PROTECTED] wrote: Don't think that can be it, since (a) the other processes are not being denied their http requests and (b) requests are going to two servers. Have you checked

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Rene Fournier
On 20-Nov-08, at 10:46 AM, Nathan Rixham wrote: Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 11:50 AM, Rene Fournier [EMAIL PROTECTED] wrote: Don't think that can be it, since (a) the other processes are not being denied their http requests and (b) requests are going to two servers

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Rene Fournier
On 20-Nov-08, at 12:44 PM, Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 2:41 PM, Rene Fournier [EMAIL PROTECTED] wrote: There is no firewall between any of the servers -- they are all on the same LAN. I read when you said that, but I must not have explained myself well enough

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-20 Thread Rene Fournier
On 20-Nov-08, at 3:57 PM, Nathan Rixham wrote: Rene Fournier wrote: On 20-Nov-08, at 12:44 PM, Daniel P. Brown wrote: On Thu, Nov 20, 2008 at 2:41 PM, Rene Fournier [EMAIL PROTECTED] wrote: There is no firewall between any of the servers -- they are all on the same LAN. I read

[PHP] PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-19 Thread Rene Fournier
Hi, I have four identical command-line PHP scripts running, and each will frequently fetch some data from another server via file_get_contents(). By frequently, I mean on average, every second. Periodically, one of the processes (command-line PHP scripts), will fail on

Re: [PHP] Re: PHP Warning: HTTP request failed -- BSD resource limit reached?

2008-11-19 Thread Rene Fournier
On 19-Nov-08, at 12:52 PM, Nathan Rixham wrote: Rene Fournier wrote: Hi, I have four identical command-line PHP scripts running, and each will frequently fetch some data from another server via file_get_contents(). By frequently, I mean on average, every second. Periodically, one

[PHP] fread() behaviour

2008-11-19 Thread Rene Fournier
I'm trying to understand something about fread(). I'm using fread() on an incoming socket stream that will send, for example, 26630 characters: while ( ($buf=fread($read[$i], 8192)) != '' ) { $sock_data .= $buf; usleep(1000); echo .; } echo ,; As soon as the

[PHP] Re: Ancient, unsolved high-CPU problem

2008-09-22 Thread Rene Fournier
In case you wanted more detail: +---+---+ | Variable_name | Value | +---+---+ | Aborted_clients | 14| | Aborted_connects | 4 | |

[PHP] Command-line PHP memory limit

2008-06-11 Thread Rene Fournier
Is it possible to set a unique memory limit for PHP scripts that are run from the command line? (That is, different from what's specified in php.ini.) ...Rene

[PHP] htaccess and $PHP_AUTH_USER

2001-08-28 Thread Rene Fournier
help, I'd greatly appreciate it. Best would be some real code running in a similar server environment. (The site in question is running on www.fatcow.com servers--they're running PHP3 (shouldn't matter, right) and Apache.) MUCH thanks in advance... ...Rene --- Rene Fournier, [EMAIL PROTECTED

[PHP] Can I turn this error off?

2001-08-17 Thread Rene Fournier
suggestions are much appreciated. Thanks. (I hope no minds if I attach the source files...) ...Rene --- Rene Fournier, [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact