[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Qube2, PHP4.0.6, Apache 1.3.20 question...



> Thanks for the idea, but didn't seem to work.  The three test files I've
> made are on my qube at this address:
> 
> www.inclinesys.com/index.php
> www.inclinesys.com/index1.php (the file you suggested)
> www.inclinesys.com/indexphp.html
> 
> I'm still stuck.   Grrrrrr......

Hey Doug,

If those don't work, then I would start to assume that PHP didn't get
installed correctly. Looking at your original post, it would seem that
you've done everything correctly. But there is a bug with PHP and the Mipsel
processor that I'm not sure you're aware of.

http://list.cobalt.com/pipermail/cobalt-users/2001-April/041925.html

I had to change ext/standard/crypt.c at line 113.

        php_srand(time(0) * getpid() * (php_combined_lcg() * 1.00000));

to 

        php_srand(time(0) * getpid() * (php_combined_lcg() * 1.0));


If you didn't make this change, I think this may be your problem.

cya,
j