php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #33158 mcrypt french documentation error
Submitted: 2005-05-27 06:48 UTC Modified: 2005-05-27 16:56 UTC
From: gkieffer at evolutive dot org Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Any
Private report: No CVE-ID: None
 [2005-05-27 06:48 UTC] gkieffer at evolutive dot org
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."



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-27 16:56 UTC] yannick@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 [2020-12-30 12:50 UTC] nikic@php.net
Automatic comment on behalf of yannick
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=c2089008975cb7bc4e7af5854e5e4b6a9153c48c
Log: Fix bug #33158
 [2020-12-30 12:50 UTC] nikic@php.net
Automatic comment on behalf of yannick
Revision: http://git.php.net/?p=doc/fr.git;a=commit;h=002d9502bf76296674cb855af2f27e21d3b8dcca
Log: Fix bug #33158
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Aug 06 16:00:02 2025 UTC