Re: apache dumps core
| From: | Kartic Krishnamurthy | Date: | Thu, 28 Dec 2000 18:54:27 +0000 |
| Subject: | Re: apache dumps core | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1369@lists.php.net to get a copy of this message | ||
Hello Jarno,
I had this problem on my FBSD 3.2R machine. I was compiling mine as CGI but
my fix might work for you.
In crypt.c, line 109, there are compiler directives on the random function
to use. I switched the first if-elif set, i.e.,, instead of the original
IF SRAND48...
ELIF SRAND
I switched around the conditions to read
IF SRAND
ELIF SRAND48
and the corresponding function definitions along with it.
The "make" went thru and the core dump stopped. I don't know the
ramifications of this alteration but my previous scripts seem to be working
well.
Also, note that this change in crypt.c is not needed on FBSD 4 Stable..the
original make works smoothly.
Hope this helps,
--Kartic