Re: [PHP] Which PHP-script crashes my server?

2006-12-19 Thread Patrik Jansson
Hi, You could enable server-status in Apache configuration then you should be able to wget server status each minute (30 seconds?) by a cron-job. When the server is going down, check that particular file. You might want the cron-job to store each result in a new file so the cron job doesn't

Re: [PHP] Problems with open_basedir

2006-10-20 Thread Patrik Jansson
Chris skrev: Patrik Jansson wrote: Hello, I'm having some difficulties with open_basedir. If I include the prefix /home/web25637/ in open_basedir shouldn't it include every directory within this? We're getting this error: Warning: file_exists() [function.file-exists]: open_basedir

Re: [PHP] Re: Problems with open_basedir

2006-10-20 Thread Patrik Jansson
Colin Guthrie wrote: Patrik Jansson wrote: I ran into problems with openbase_dir when using symlinks... They only really reared their ugly head when I upgraded to 5.1.6 before that they were OK (tho' if memory serves I had to add both the symlink location and the directory it pointed to. Anyway

Re: [PHP] Re: Problems with open_basedir

2006-10-20 Thread Patrik Jansson
Colin Guthrie wrote: Well, I was never sure that it was a bug or not. I wasn't sure if it was my distro's packaging and any custom patches it applies and also where it was some x86_64 wierdness. Recently (last week) it was confirmed to me that it was not x86_64 at fault, but it was still my

Re: [PHP] Re: Problems with open_basedir

2006-10-20 Thread Patrik Jansson
I noticed that this bug is already to be found in the bug database. This is exactly how I'm experiencing it: http://bugs.php.net/bug.php?id=37556 In that report they link the reader to http://bugs.php.net/bug.php?id=30188 which is also applicable. Although I can't understand the last answer:

[PHP] Problems with open_basedir

2006-10-19 Thread Patrik Jansson
Hello, I'm having some difficulties with open_basedir. If I include the prefix /home/web25637/ in open_basedir shouldn't it include every directory within this? We're getting this error: Warning: file_exists() [function.file-exists]: open_basedir restriction in effect.