Bug #17470: gettext only work in cgi mode

From: Date: Tue, 28 May 2002 08:13:29 +0000
Subject: Bug #17470: gettext only work in cgi mode
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8720@lists.php.net to get a copy of this message
From: pun@alumni.ust.hk Operating system: Solaris 7 PHP version: 4.2.1 PHP Bug Type: Gettext related Bug description: gettext only work in cgi mode The same script is used for php in cgi mode and dynamic module mode. CGI mode get the language translated but dynamic mode fail. Using the same compiled options except the dynamic is with ---with-apxs=/usr/local/apache/bin/apxs ldd checked that the library is linked correctly. Cmd used:/configure --with-gettext=/usr/local --with-imap=../c-client --with-oci8 # /usr/local/apache/bin/httpd -V Server version: Apache/1.3.23 (Unix) Server built: Feb 27 2002 15:29:43 Server's Module Magic Number: 19990320:11 Server compiled with.... -D EAPI -D EAPI_MM -D EAPI_MM_CORE_PATH="logs/httpd.mm" -D HAVE_MMAP -D USE_MMAP_SCOREBOARD -D USE_MMAP_FILES -D HAVE_FCNTL_SERIALIZED_ACCEPT -D HAVE_SYSVSEM_SERIALIZED_ACCEPT -D HAVE_PTHREAD_SERIALIZED_ACCEPT -D HTTPD_ROOT="/usr/local/apache" -D SUEXEC_BIN="/usr/local/apache/bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/httpd.scoreboard" -D DEFAULT_LOCKFILE="logs/httpd.lock" -D DEFAULT_XFERLOG="logs/access_log" -D DEFAULT_ERRORLOG="logs/error_log" -D TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" -D ACCESS_CONFIG_FILE="conf/access.conf" -D RESOURCE_CONFIG_FILE="conf/srm.conf" -- Edit bug report at http://bugs.php.net/?id=17470&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17470&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17470&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17470&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17470&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17470&r=support Expected behavior: http://bugs.php.net/fix.php?id=17470&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17470&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17470&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17470&r=globals

« previous php.bugs (#8720) next »