Out of blue, I got a problem a little over a week ago. Suddenly, once in a while, in a seemingly random pattern, I get the fatal error "cannot redeclare sess_open()".
sess_open() is php4's session handling open() function rewritten to use database instead of files. The function doesn't really do anything, it just has to be there and redeclared in session_set_save_handler() function along with a new write(), destroy() etc.
Now this problem doesn't occur every time I access a page, it seems (I know it sound weird) like if the server /database has had a "rest", it works fine for a while, and then, in a seemingly random pattern, the error starts occuring, more and more.
The cause could be that I simultaneously get a buildup of running mysqld's (rh60, apache 1.3.12) that don't stop.
I've checked many times by now, and the session is only started once, there is only one mysql_connect() function run each time (and no pconnect), no headers or information is sent before the session is started and I just can't find any errors. Has anybody got any experience with this or know anthing about it?
Thanks in advance for any help offered.
--Fredrik
php on usenet: alt.php