#17470 [Fbk->NoF]: gettext only work in cgi mode
| From: | sniper@php.net | Date: | Wed, 11 Sep 2002 16:12:22 +0000 |
| Subject: | #17470 [Fbk->NoF]: gettext only work in cgi mode | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-19099@lists.php.net to get a copy of this message | ||
ID: 17470
Updated by: sniper@php.net
Reported By: pun@alumni.ust.hk
-Status: Feedback
+Status: No Feedback
Bug Type: Gettext related
Operating System: Solaris 7
PHP Version: 4.2.1
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2002-05-28 04:35:12] mfischer@php.net
Probably the locale doesn't get set properly (setlocale() issue) ?
Can you use GNU strace to trace down which files are accessed ? Maybe
there's a permission or PATH or so problem?
strace -e trace=file -o output.txt <httpd-binary> -X
Then access your url which doesn't work and put the output.txt file up
somewhere on the web we can see it (if you're concerned about your
privavy you can send it private to me).
Please do the same also with the CGI so I've something to compare.
------------------------------------------------------------------------
[2002-05-28 04:13:28] pun@alumni.ust.hk
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 this bug report at http://bugs.php.net/?id=17470&edit=1