Re: [PHP] Re: Mcrypt fails to run

2001-07-13 Thread Christopher Ostmo

Gigi pressed the little lettered thingies in this order...

 Hi,
 
 Try upgrading to 4.0.6. I think there are known pb with 4.0.4 and mcrypt.
 Regards,
 
 --Gildas.
 
 --
 /-*-\
 | Systèmes  Technologies | Tél: +33 2 96438787 |
 | Informatiques du Ponant | Fax: +33 2 96438788 |
 | 27, rue Auguste Brizeux | email:   [EMAIL PROTECTED] |
 | 22200 Guingamp - France | web: http://www.stip.fr |
 \-*-/
 Dixie Flatline [EMAIL PROTECTED] a écrit dans le message news:
 [EMAIL PROTECTED]  Greetings!   I'm running
 Debian Potato 2.2.19 with php 4.0.4-pl1. I'd recently compiled  an
 Mcrypt.so module, then added the extension line into my php.ini file. 
 After reloading Apache and trying to run any php script which includes ANY
  mcrypt related function, the code immediately halts and no output is
 given.  There aren't any errors in my log files, so I don't know what
 could be the  problem :(.   I'm using libmcrypt 2.4.15 and MCrypt 2.5.7.
   Best Regards,   Dixie Flatline  
 
 

If this is the same problem that I ran into, you can fix it with a re-
compile of php.  Before compiling, go into the file:
ext/standard/crypt.c
and change line 109 to:
srand48((long)time(0) * (long)getpid() * (long)(php_combined_lcg()*(double)1.0));

You should check your server log files.  If httpd is core dumping when 
you run mycrypt commands, then this is your problem.  The fix was 
documented at bugs.php.net and was incorporated into a later version.  
When I compiled 4.0.6, I didn't have to make this change.

If you're going to recompile anyway, you may as well upgrade.

Good luck...

Christopher Ostmo
a.k.a. [EMAIL PROTECTED]
AppIdeas.com
Innovative Application Ideas
Meeting cutting edge dynamic
web site needs since the 
dawn of Internet time (1995)

Business Applications:
http://www.AppIdeas.com/

Open Source Applications:
http://open.AppIdeas.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: Mcrypt fails to run

2001-07-11 Thread Gigi

Hi,

Try upgrading to 4.0.6. I think there are known pb with 4.0.4 and mcrypt.
Regards,

--Gildas.

--
/-*-\
| Systèmes  Technologies | Tél: +33 2 96438787 |
| Informatiques du Ponant | Fax: +33 2 96438788 |
| 27, rue Auguste Brizeux | email:   [EMAIL PROTECTED] |
| 22200 Guingamp - France | web: http://www.stip.fr |
\-*-/
Dixie Flatline [EMAIL PROTECTED] a écrit dans le message news:
[EMAIL PROTECTED]
 Greetings!

 I'm running Debian Potato 2.2.19 with php 4.0.4-pl1. I'd recently compiled
 an Mcrypt.so module, then added the extension line into my php.ini file.
 After reloading Apache and trying to run any php script which includes ANY
 mcrypt related function, the code immediately halts and no output is
given.
 There aren't any errors in my log files, so I don't know what could be the
 problem :(.

 I'm using libmcrypt 2.4.15 and MCrypt 2.5.7.

 Best Regards,

 Dixie Flatline





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]