From:             gkieffer at evolutive dot org
Operating system: Any
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  mcrypt french documentation error

Description:
------------
There's a slight mistake in the french translation of the 'mcrypt'
introduction page.

The english version can be found here:
http://www.php.net/manual/en/ref.mcrypt.php

The french version here:
http://www.php.net/manual/fr/ref.mcrypt.php

On that page there's an 'Installation' section.

Here's the english version:
"Installation
You need to compile PHP with the --with-mcrypt[=DIR] parameter to enable
this extension. DIR is the mcrypt install directory. Make sure you compile
libmcrypt with the option --disable-posix-threads."

And here's the french version:
"Installation
Vous devez compiler PHP avec l'option --with-mcrypt=[DIR] pour activer
cette extension. DIR est le dossier d'installation de mcrypt. Assurez-vous
de compiler libmcrypt sans l'option --disable-posix-threads."

The problem lies in the last sentence regarding that compilation option.
Basically the french translation says the exact opposite of the original
text: "Make sure you compile libmcrypt *without* the option
--disable-posix-threads."

Well so far I've heard that PHP is not guaranteed to be thread-safe so it
sounds quite normal to me to compile modules/associated libs *without* any
threads stuff. So compiling libmcrypt *with* that --disable-posix-threads
option sounds right.

Moreover I think the original english documentation has been reviewed more
often than the french translation and an error in the english documentation
would have aroused comments.

Well. Considering that the original english documentation is right, the
french translation should read:

"Installation
Vous devez compiler PHP avec l'option --with-mcrypt=[DIR] pour activer
cette extension. DIR est le dossier d'installation de mcrypt. Assurez-vous
de compiler libmcrypt avec l'option --disable-posix-threads."



-- 
Edit bug report at http://bugs.php.net/?id=33158&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=33158&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=33158&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=33158&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=33158&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=33158&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=33158&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=33158&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=33158&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=33158&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=33158&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=33158&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=33158&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=33158&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=33158&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=33158&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=33158&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=33158&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=33158&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=33158&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=33158&r=mysqlcfg

Reply via email to