ID: 21965 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Gettext related Operating System: Solaris PHP Version: 4.2.3 New Comment:
I thought that it might be a problem. PHP is compiled --width-apache and not as an CGI. BUT: I set explicitly the LC_MESAGES var infront of each call of gettext because of that. The behavior is the same if i'm the only user on the server. How is that behavior explicable with thread conflicts ??? I have no idea >iliaa have you any other experiences with that phenomena or examples of problematic system configurations? Previous Comments: ------------------------------------------------------------------------ [2003-01-30 11:43:10] [EMAIL PROTECTED] Are you using gettext in multi-threaded enviroment if so, that would explain the behaviour you are seeing because gettext is NOT thread-safe. ------------------------------------------------------------------------ [2003-01-30 11:00:54] [EMAIL PROTECTED] This behavior is reproduceable on Solaris 7.x and 2.6 ------------------------------------------------------------------------ [2003-01-30 10:47:45] [EMAIL PROTECTED] gettext uses entries out of differend files at the same time!! During the execution time of on single script the languages changes without an reproduceable behavior. As an example: the first 10 strings are translated in german, the next three strings in english, the next vive again in german and thze rest in english. The same application on a different OS like LINUX or Windows works pretty well. It is only a problem on Solaris. The version of GNU gettext is 0.10.37 on all systems. Please could you help me finding a solution. Thorsten Kussler ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21965&edit=1