RE: [PHP] Parse Errors with 5.2 on Linux

2006-11-07 Thread Michael Caplan
: Michael Caplan Cc: php-general@lists.php.net Subject: Re: [PHP] Parse Errors with 5.2 on Linux On Tue, November 7, 2006 11:30 am, Michael Caplan wrote: > I just installed PHP 5.2 on a linux server (compiled from source), and > am having some strange problems with a script that is reporting a &

[PHP] Parse Errors with 5.2 on Linux

2006-11-07 Thread Michael Caplan
Hi there, I just installed PHP 5.2 on a linux server (compiled from source), and am having some strange problems with a script that is reporting a fatal parse error: Parse error: syntax error, unexpected $end in /xxx/xxx/xxx/functions.php on line 1213 This very script parses just a-okay

[PHP] Local session.gc_maxlifetime not always being respected

2005-09-21 Thread Michael Caplan
Hi, I have a rather peculiar problem with session.gc_maxlifetime local settings not being respected under certain circumstances. In order to ensure that sessions created for our application would have a max lifetime longer than the default 24 minutes, we cranked session.gc_maxlifetime in an .hta

[PHP] Local session.gc_maxlifetime not always being respected

2005-09-21 Thread Michael Caplan
Hi, I have a rather peculiar problem with session.gc_maxlifetime local settings not being respected under certain circumstances. In order to ensure that sessions created for our application would have a max lifetime longer than the default 24 minutes, we cranked session.gc_maxlifetime in an

[PHP] Strategies for debugging a segmentation fault on a production ser ver

2005-06-21 Thread Michael Caplan
Hi there, I am looking for some advice on how to go about debugging Apache 1.3.33 / PHP 5.0.4 on a production Linux box (RHE 3). The scenario is this: Once a day we find a segfault in our apache logs. From our current position, we don't know what page was accessed, and our 400+ users haven't

[PHP] howto kill proc stream after X seconds

2005-03-10 Thread Michael Caplan
Hi, I am struggling to find a way to kill a proc_open() stream if it remains idle (hangs). Specifically, I am opening an SSH connection up and running a remote command - all from a PHP script run from the shell. Under the rare circumstance that my passwordless authentication fails (ie: it sit

[PHP] concatenating class instances?

2002-05-23 Thread Michael Caplan
Hi, Quick question. The below code snippet responded in a way that I didn't expect. I created an instance of the class frameWork, and then created an instance of the section class which is assigned to the same variable. I thought that the second instance would overwrite the frameWork object. I