ID: 21965 Updated by: [EMAIL PROTECTED] Reported By: thorsten dot kussler at communardo dot de -Status: Open +Status: Feedback Bug Type: Gettext related Operating System: Solaris PHP Version: 4.2.3 New Comment:
I bet this happens with later PHP versions, like 4.3.2 too? What is the full configure line you have used to configure PHP ?? Previous Comments: ------------------------------------------------------------------------ [2003-01-30 12:20:35] thorsten dot kussler at communardo dot de 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? ------------------------------------------------------------------------ [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] thorsten dot kussler at communardo dot de This behavior is reproduceable on Solaris 7.x and 2.6 ------------------------------------------------------------------------ [2003-01-30 10:47:45] thorsten dot kussler at communardo dot de 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