壹佰网|ERP100 - 企业信息化知识门户

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 7969|回复: 10

为什么不能支持中文

[复制链接]
发表于 2009/9/14 11:31:44 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。如果您注册时有任何问题请联系客服QQ: 83569622  。

您需要 登录 才可以下载或查看,没有帐号?注册

x
环境如下:FREEBSD7.2+MYSQL6.0.10+APACHE2.2.11+PHP5.2.9,MYSQL已支持GB2312,CONFIG中已把默认语言改为ZH_CN,登录界面仍然为英文,进入手动把语言改为ZH_CN无效,麻烦哪位看看问题出在哪儿?注:同一环境安装 的Discuz! 7使用中文无问题。

另:大家还有什么好的开源ERP,要求支持MYSQL的
 楼主| 发表于 2009/9/14 11:33:10 | 显示全部楼层
安装采用INSTALL安装,已按提示把权限修改
 楼主| 发表于 2009/9/14 13:23:17 | 显示全部楼层
怎么没人回复?哪位给指点一下
发表于 2009/9/15 19:38:38 | 显示全部楼层
到locale里面看看有没有zh_CN目录?目录里面有没有./LC_MESSAGES/message.mo?

如果都有的话,可能你的message.mo损坏了,用gettext从新从message.po生成message.mo
 楼主| 发表于 2009/9/18 17:18:36 | 显示全部楼层
到locale里面看看有没有zh_CN目录?目录里面有没有./LC_MESSAGES/message.mo?

如果都有的话,可能你的message.mo损坏了,用gettext从新从message.po生成message.mo
Laynepeng 发表于 2009/9/15 19:38


麻烦能说一下gettext用法吗?是在WIN下还是在FB下使用?
 楼主| 发表于 2009/9/18 17:30:23 | 显示全部楼层
很多时候大家在使用GNU gettext方案的时候,会有想修改一些自己的翻译,但是手上只有mo文件的情况,这个时候,你就需要把mo文件转换成po文件了。

要转换mo文件,你首先要从这里下载gettext:http://gnuwin32.sourceforge.net/downlinks/gettext.php

安装后,使用其中的msgunfmt工具,下面是范例

msgunfmt.exe example.mo -o example.po

其中,example.mo是你要转换的mo文件,example.po是转换后的文件。
这是从网上看到的一篇转换文档,是这样子吗?
 楼主| 发表于 2009/9/19 16:33:49 | 显示全部楼层
PHP Version 5.2.9

System  FreeBSD shaoqing 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri Sep 4 14:05:21 UTC 2009 root@shaoqing:/usr/obj/usr/src/sys/QHTF i386  
Build Date  Sep 9 2009 14:17:03  
Configure Command  './configure' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection' '--program-prefix=' '--enable-force-cgi-redirect' '--enable-discard-path' '--enable-fastcgi' '--with-apxs2=/usr/local/sbin/apxs' '--with-regex=php' '--with-zend-vm=CALL' '--enable-zend-multibyte' '--disable-ipv6' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--build=i386-portbld-freebsd7.2'  
Server API  Apache 2.0 Handler  
Virtual Directory Support  disabled  
Configuration File (php.ini) Path  /usr/local/etc  
Loaded Configuration File  /usr/local/etc/php.ini  
Scan this dir for additional .ini files  /usr/local/etc/php  
additional .ini files parsed  /usr/local/etc/php/extensions.ini  
PHP API  20041225  
PHP Extension  20060613  
Zend Extension  220060519  
Debug Build  no  
Thread Safety  disabled  
Zend Memory Manager  enabled  
IPv6 Support  disabled  
Registered PHP Streams  compress.bzip2, php, file, data, http, ftp, https, ftps, zip, compress.zlib  
Registered Stream Socket Transports  tcp, udp, unix, udg, ssl, sslv3, sslv2, tls  
Registered Stream Filters  bzip2.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, convert.iconv.*, zlib.*  

This server is protected with the Suhosin Patch 0.9.7
Copyright (c) 2006 Hardened-PHP Project  

This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies



--------------------------------------------------------------------------------

PHP Credits

--------------------------------------------------------------------------------

Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On
allow_url_include Off Off
always_populate_raw_post_data Off Off
arg_separator.input & &
arg_separator.output & &
asp_tags On On
auto_append_file no value no value
auto_globals_jit On On
auto_prepend_file no value no value
browscap no value no value
default_charset no value no value
default_mimetype text/html text/html
define_syslog_variables Off Off
detect_unicode On On
disable_classes no value no value
disable_functions no value no value
display_errors Off Off
display_startup_errors Off Off
doc_root no value no value
docref_ext no value no value
docref_root no value no value
enable_dl On On
error_append_string no value no value
error_log no value no value
error_prepend_string no value no value
error_reporting 6135 6135
expose_php On On
extension_dir /usr/local/lib/php/20060613 /usr/local/lib/php/20060613
file_uploads On On
highlight.bg #FFFFFF #FFFFFF
highlight.comment #FF8000 #FF8000
highlight.default #0000BB #0000BB
highlight.html #000000 #000000
highlight.keyword #007700 #007700
highlight.string #DD0000 #DD0000
html_errors On On
ignore_repeated_errors Off Off
ignore_repeated_source Off Off
ignore_user_abort Off Off
implicit_flush Off Off
include_path .:/usr/local/share/pear .:/usr/local/share/pear
log_errors Off Off
log_errors_max_len 1024 1024
magic_quotes_gpc Off Off
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
mail.force_extra_parameters no value no value
max_execution_time 30 30
max_input_nesting_level 64 64
max_input_time 60 60
memory_limit 128M 128M
open_basedir no value no value
output_buffering no value no value
output_handler no value no value
post_max_size 8M 8M
precision 12 12
realpath_cache_size 16K 16K
realpath_cache_ttl 120 120
register_argc_argv On On
register_globals Off Off
register_long_arrays On On
report_memleaks On On
report_zend_debug On On
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
sendmail_from no value no value
sendmail_path /usr/sbin/sendmail -t -i  /usr/sbin/sendmail -t -i  
serialize_precision 100 100
short_open_tag On On
SMTP localhost localhost
smtp_port 25 25
sql.safe_mode Off Off
suhosin.log.phpscript 0 0
suhosin.log.phpscript.is_safe Off Off
suhosin.log.phpscript.name no value no value
suhosin.log.sapi no value no value
suhosin.log.script no value no value
suhosin.log.script.name no value no value
suhosin.log.syslog no value no value
suhosin.log.syslog.facility no value no value
suhosin.log.syslog.priority no value no value
suhosin.log.use-x-forwarded-for Off Off
track_errors Off Off
unserialize_callback_func no value no value
upload_max_filesize 2M 2M
upload_tmp_dir no value no value
user_dir no value no value
variables_order EGPCS EGPCS
xmlrpc_error_number 0 0
xmlrpc_errors Off Off
y2k_compliance On On
zend.ze1_compatibility_mode Off Off


apache2handler
Apache Version  Apache/2.2.11 (FreeBSD) mod_ssl/2.2.11 OpenSSL/0.9.8e DAV/2 PHP/5.2.9 with Suhosin-Patch  
Apache API Version  20051115  
Server Administrator  99519@163.com  
Hostnameort  dongy.kmip.net:80  
User/Group  www(80)/80  
Max Requests  Per Child: 10000 - Keep Alive: on - Max Per Connection: 100  
Timeouts  Connection: 300 - Keep-Alive: 5  
Virtual Server  Yes  
Server Root  /usr/local  
Loaded Modules  core prefork http_core mod_so mod_authn_file mod_authn_dbm mod_authn_anon mod_authn_default mod_authn_alias mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_dbm mod_authz_owner mod_authz_default mod_auth_basic mod_auth_digest mod_file_cache mod_cache mod_disk_cache mod_mem_cache mod_dumpio mod_ext_filter mod_include mod_filter mod_charset_lite mod_deflate mod_log_config mod_logio mod_env mod_mime_magic mod_cern_meta mod_expires mod_headers mod_usertrack mod_unique_id mod_setenvif mod_version mod_ssl mod_mime mod_dav mod_status mod_autoindex mod_info mod_cgi mod_cgid mod_dav_fs mod_vhost_alias mod_negotiation mod_dir mod_imagemap mod_actions mod_speling mod_userdir mod_rewrite mod_php5  

Directive Local Value Master Value
engine 1 1
last_modified 0 0
xbithack 0 0


Apache Environment
Variable Value
UNIQUE_ID  SrUJWgAAAAAAAALc7hoAAAAA  
HTTP_ACCEPT  */*  
HTTP_ACCEPT_LANGUAGE  zh-cn  
HTTP_ACCEPT_ENCODING  gzip, deflate  
HTTP_USER_AGENT  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TencentTraveler 4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)  
HTTP_HOST  dongy.kmip.net  
HTTP_CONNECTION  Keep-Alive  
HTTP_COOKIE  template=classic; lng=cn  
PATH  /sbin:/bin:/usr/sbin:/usr/bin  
SERVER_SIGNATURE  no value  
SERVER_SOFTWARE  Apache/2.2.11 (FreeBSD) mod_ssl/2.2.11 OpenSSL/0.9.8e DAV/2 PHP/5.2.9 with Suhosin-Patch  
SERVER_NAME  dongy.kmip.net  
SERVER_ADDR  192.168.1.55  
SERVER_PORT  80  
REMOTE_ADDR  60.214.206.134  
DOCUMENT_ROOT  /usr/local/www/phpsysinfo  
SERVER_ADMIN  99519@163.com  
SCRIPT_FILENAME  /usr/local/www/phpsysinfo/test.php  
REMOTE_PORT  13153  
GATEWAY_INTERFACE  CGI/1.1  
SERVER_PROTOCOL  HTTP/1.1  
REQUEST_METHOD  GET  
QUERY_STRING  no value  
REQUEST_URI  /test.php  
SCRIPT_NAME  /test.php  


HTTP Headers Information
HTTP Request Headers
HTTP Request  GET /test.php HTTP/1.1  
Accept  */*  
Accept-Language  zh-cn  
Accept-Encoding  gzip, deflate  
User-Agent  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TencentTraveler 4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)  
Host  dongy.kmip.net  
Connection  Keep-Alive  
Cookie  template=classic; lng=cn  
HTTP Response Headers
X-Powered-By  PHP/5.2.9  
Keep-Alive  timeout=5, max=100  
Connection  Keep-Alive  
Transfer-Encoding  chunked  
Content-Type  text/html  


bcmath
BCMath support  enabled  


bz2
BZip2 Support  Enabled  
Stream Wrapper support  compress.bz2://  
Stream Filter support  bzip2.decompress, bzip2.compress  
BZip2 Version  1.0.5, 10-Dec-2007  


calendar
Calendar support  enabled  


ctype
ctype functions  enabled  


curl
cURL support  enabled  
cURL Information  libcurl/7.19.4 OpenSSL/0.9.8e zlib/1.2.3 libidn/1.13  


date
date/time support  enabled  
"Olson" Timezone Database Version  2009.1  
Timezone Database  internal  
Default timezone  UTC  

Directive Local Value Master Value
date.default_latitude 31.7667 31.7667
date.default_longitude 35.2333 35.2333
date.sunrise_zenith 90.583333 90.583333
date.sunset_zenith 90.583333 90.583333
date.timezone no value no value


dba
DBA support  enabled  
Supported handlers  cdb cdb_make inifile flatfile  


dom
DOM/XML  enabled  
DOM/XML API Version  20031129  
libxml Version  2.7.3  
HTML Support  enabled  
XPath Support  enabled  
XPointer Support  enabled  
Schema Support  enabled  
RelaxNG Support  enabled  


exif
EXIF Support  enabled  
EXIF Version  1.4 $Id: exif.c,v 1.173.2.5.2.27 2008/12/31 11:17:37 sebastian Exp $  
Supported EXIF Version  0220  
Supported filetypes  JPEG,TIFF  


fileinfo
fileinfo support enabled


filter
Input Validation and Filtering  enabled  
Revision  $Revision: 1.52.2.45 $  

Directive Local Value Master Value
filter.default unsafe_raw unsafe_raw
filter.default_flags no value no value


fribidi
FriBidi support  enabled  
FriBidi version  0.10.9  


ftp
FTP support  enabled  


gd
GD Support  enabled  
GD Version  bundled (2.0.34 compatible)  
FreeType Support  enabled  
FreeType Linkage  with freetype  
FreeType Version  2.3.9  
T1Lib Support  enabled  
GIF Read Support  enabled  
GIF Create Support  enabled  
JPG Support  enabled  
PNG Support  enabled  
WBMP Support  enabled  
XPM Support  enabled  
XBM Support  enabled  


gettext
GetText Support  enabled  


gmp
gmp support  enabled  
GMP version  4.2.4  


hash
hash support  enabled  
Hashing Engines  md2 md4 md5 sha1 sha256 sha384 sha512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru gost adler32 crc32 crc32b haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5  


iconv
iconv support  enabled  
iconv implementation  libiconv  
iconv library version  1.11  

Directive Local Value Master Value
iconv.input_encoding ISO-8859-1 ISO-8859-1
iconv.internal_encoding ISO-8859-1 ISO-8859-1
iconv.output_encoding ISO-8859-1 ISO-8859-1


imap
IMAP c-Client Version  2007e  
SSL Support  enabled  


json
json support  enabled  
json version  1.2.1  


ldap
LDAP Support  enabled  
RCS Version  $Id: ldap.c,v 1.161.2.3.2.14 2008/12/31 11:17:39 sebastian Exp $  
Total Links  0/unlimited  
API Version  3001  
Vendor Name  OpenLDAP  
Vendor Version  20416  


libxml
libXML support  active  
libXML Version  2.7.3  
libXML streams  enabled  


mbstring
Multibyte Support  enabled  
Multibyte string engine  libmbfl  
Multibyte (japanese) regex support  enabled  
Multibyte regex (oniguruma) version  4.4.4  
Multibyte regex (oniguruma) backtrack check  On  

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Directive Local Value Master Value
mbstring.detect_order no value no value
mbstring.encoding_translation Off Off
mbstring.func_overload 0 0
mbstring.http_input pass pass
mbstring.http_output pass pass
mbstring.internal_encoding no value no value
mbstring.language neutral neutral
mbstring.script_encoding no value no value
mbstring.strict_detection Off Off
mbstring.substitute_character no value no value


mcrypt
mcrypt support enabled
Version  2.5.8  
Api No  20021217  
Supported ciphers  cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes  
Supported modes  cbc cfb ctr ecb ncfb nofb ofb stream  

Directive Local Value Master Value
mcrypt.algorithms_dir no value no value
mcrypt.modes_dir no value no value


mhash
MHASH support  Enabled  
MHASH API Version  20060101  


mysql
MySQL Support enabled
Active Persistent Links  0  
Active Links  0  
Client API version  6.0.10-alpha  
MYSQL_MODULE_TYPE  no value  
MYSQL_SOCKET  /tmp/mysql.sock  
MYSQL_INCLUDE  no value  
MYSQL_LIBS  no value  

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off


mysqli
MysqlI Support enabled
Client API library version  6.0.10-alpha  
Client API header version  6.0.10-alpha  
MYSQLI_SOCKET  /tmp/mysql.sock  

Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off


ncurses
ncurses support enabled
ncurses library version  5.6  
color support  yes  


odbc
ODBC Support enabled
Active Persistent Links  0  
Active Links  0  
ODBC library  no value  
ODBC_INCLUDE  no value  
ODBC_LFLAGS  no value  
ODBC_LIBS  no value  

Directive Local Value Master Value
odbc.allow_persistent On On
odbc.check_persistent On On
odbc.default_cursortype Static cursor Static cursor
odbc.default_db no value no value
odbc.default_pw no value no value
odbc.default_user no value no value
odbc.defaultbinmode return as is return as is
odbc.defaultlrl return up to 4096 bytes return up to 4096 bytes
odbc.max_links Unlimited Unlimited
odbc.max_persistent Unlimited Unlimited


openssl
OpenSSL support  enabled  
OpenSSL Version  OpenSSL 0.9.8e 23 Feb 2007  


pcntl
pcntl support enabled


pcre
PCRE (Perl Compatible Regular Expressions) Support  enabled  
PCRE Library Version  7.8 2008-09-05  

Directive Local Value Master Value
pcre.backtrack_limit 100000 100000
pcre.recursion_limit 100000 100000


pdf
PDF Support enabled
PDFlib GmbH Version  7.0.3  
PECL Version  2.1.6  
Revision  $Revision: 1.9 $  


PDO
PDO support enabled
PDO drivers  sqlite  


pdo_sqlite
PDO Driver for SQLite 3.x enabled
PECL Module version  (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.4 2008/12/31 11:17:42 sebastian Exp $  
SQLite Library  3.3.7  


posix
Revision  $Revision: 1.70.2.3.2.22 $  


pspell
PSpell Support  enabled  


Reflection
Reflection enabled
Version  $Id: php_reflection.c,v 1.164.2.33.2.55 2008/12/31 11:17:42 sebastian Exp $  


session
Session Support  enabled  
Registered save handlers  files user  
Registered serializer handlers  php php_binary  

Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_httponly Off Off
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.hash_bits_per_character 4 4
session.hash_function 0 0
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path no value no value
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies Off Off
session.use_trans_sid 0 0


shmop
shmop support  enabled  


SimpleXML
Simplexml support enabled
Revision  $Revision: 1.151.2.22.2.46 $  
Schema support  enabled  


soap
Soap Client  enabled  
Soap Server  enabled  

Directive Local Value Master Value
soap.wsdl_cache 1 1
soap.wsdl_cache_dir /tmp /tmp
soap.wsdl_cache_enabled 1 1
soap.wsdl_cache_limit 5 5
soap.wsdl_cache_ttl 86400 86400


sockets
Sockets Support  enabled  


SPL
SPL support enabled
Interfaces  Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject  
Classes  AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, DirectoryIterator, DomainException, EmptyIterator, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RegexIterator, RuntimeException, SimpleXMLIterator, SplFileInfo, SplFileObject, SplObjectStorage, SplTempFileObject, UnderflowException, UnexpectedValueException  


SQLite
SQLite support enabled
PECL Module version  2.0-dev $Id: sqlite.c,v 1.166.2.13.2.12 2008/12/31 11:17:44 sebastian Exp $  
SQLite Library  2.8.17  
SQLite Encoding  UTF-8  

Directive Local Value Master Value
sqlite.assoc_case 0 0


standard
Regex Library  Bundled library enabled  
Dynamic Library Support  enabled  
Path to sendmail  /usr/sbin/sendmail -t -i  

Directive Local Value Master Value
assert.active 1 1
assert.bail 0 0
assert.callback no value no value
assert.quiet_eval 0 0
assert.warning 1 1
auto_detect_line_endings 0 0
default_socket_timeout 60 60
safe_mode_allowed_env_vars PHP_ PHP_
safe_mode_protected_env_vars LD_LIBRARY_PATH LD_LIBRARY_PATH
url_rewriter.tags a=href,area=href,frame=src,input=src,form=,fieldset= a=href,area=href,frame=src,input=src,form=,fieldset=
user_agent no value no value


tidy
Tidy support enabled
libTidy Release  7 December 2008  
Extension Version  2.0 ($Id: tidy.c,v 1.66.2.8.2.26 2008/12/31 11:17:46 sebastian Exp $)  

Directive Local Value Master Value
tidy.clean_output no value no value
tidy.default_config no value no value


tokenizer
Tokenizer Support  enabled  


xml
XML Support  active  
XML Namespace Support  active  
libxml2 Version  2.7.3  


xmlreader
XMLReader  enabled  


xmlrpc
core library version  xmlrpc-epi v. 0.51  
php extension version  0.51  
author  Dan Libby  
homepage  http://xmlrpc-epi.sourceforge.net  
open sourced by  Epinions.com  


xmlwriter
XMLWriter  enabled  


xsl
XSL  enabled  
libxslt Version  1.1.24  
libxslt compiled against libxml Version  2.7.3  
EXSLT  enabled  
libexslt Version  1.1.24  


yaz
YAZ Support  enabled  
PHP/YAZ Version  1.0.14  
YAZ Version  3.0.38  
Compiled with YAZ version  3.0.38  


zip
Zip  enabled  
Extension Version  $Id: php_zip.c,v 1.1.2.49 2009/02/05 19:53:22 pajoye Exp $  
Zip version  1.8.11  
Libzip version  0.9.0  


zlib
ZLib Support  enabled  
Stream Wrapper support  compress.zlib://  
Stream Filter support  zlib.inflate, zlib.deflate  
Compiled Version  1.2.3  
Linked Version  1.2.3  

Directive Local Value Master Value
zlib.output_compression Off Off
zlib.output_compression_level -1 -1
zlib.output_handler no value no value


Additional Modules
Module Name
dbase
readline


Environment
Variable Value
LD_LIBRARY_PATH  /usr/local/lib:  
HOME  /  
PATH  /sbin:/bin:/usr/sbin:/usr/bin  
RC_PID  78  
PWD  /  


PHP Variables
Variable Value
_REQUEST["template"] classic
_REQUEST["lng"] cn
_COOKIE["template"] classic
_COOKIE["lng"] cn
_SERVER["UNIQUE_ID"] SrUJWgAAAAAAAALc7hoAAAAA
_SERVER["HTTP_ACCEPT"] */*
_SERVER["HTTP_ACCEPT_LANGUAGE"] zh-cn
_SERVER["HTTP_ACCEPT_ENCODING"] gzip, deflate
_SERVER["HTTP_USER_AGENT"] Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; TencentTraveler 4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; InfoPath.2; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
_SERVER["HTTP_HOST"] dongy.kmip.net
_SERVER["HTTP_CONNECTION"] Keep-Alive
_SERVER["HTTP_COOKIE"] template=classic; lng=cn
_SERVER["ATH"] /sbin:/bin:/usr/sbin:/usr/bin
_SERVER["SERVER_SIGNATURE"] no value
_SERVER["SERVER_SOFTWARE"] Apache/2.2.11 (FreeBSD) mod_ssl/2.2.11 OpenSSL/0.9.8e DAV/2 PHP/5.2.9 with Suhosin-Patch
_SERVER["SERVER_NAME"] dongy.kmip.net
_SERVER["SERVER_ADDR"] 192.168.1.55
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 60.214.206.134
_SERVER["DOCUMENT_ROOT"] /usr/local/www/phpsysinfo
_SERVER["SERVER_ADMIN"] 99519@163.com
_SERVER["SCRIPT_FILENAME"] /usr/local/www/phpsysinfo/test.php
_SERVER["REMOTE_PORT"] 13153
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /test.php
_SERVER["SCRIPT_NAME"] /test.php
_SERVER["PHP_SELF"] /test.php
_SERVER["REQUEST_TIME"] 1253378394
_SERVER["argv"] Array
(
)

_SERVER["argc"] 0
_ENV["LD_LIBRARY_PATH"] /usr/local/lib:
_ENV["HOME"] /
_ENV["PATH"] /sbin:/bin:/usr/sbin:/usr/bin
_ENV["RC_PID"] 78
_ENV["PWD"] /


PHP License
This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.
 楼主| 发表于 2009/10/5 10:54:05 | 显示全部楼层
自己的贴子自己顶,已解决,谢谢各位
发表于 2009/10/10 08:50:40 | 显示全部楼层
中文是在登陆后点自己的用户名然后设置的,否则默认的还是英文
发表于 2009/11/17 06:27:16 | 显示全部楼层
EGroupWare 的blueerp不错,但是可惜我的空间没有xml,不能安装,支持mysql  和php。
发表于 2009/11/30 21:43:28 | 显示全部楼层
回复 8# 青山松

大侠你是怎样搞定的啊?我用的是ubuntu,也重新生成了utf8和zh_CN的语言包,但是都是显示英文。怎样解决呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|手机版|壹佰网 ERP100 ( 京ICP备19053597号-2 )

Copyright © 2005-2012 北京海之大网络技术有限责任公司 服务器托管由互联互通
手机:13911575376
网站技术点击发送消息给对方83569622   广告&合作 点击发送消息给对方27675401   点击发送消息给对方634043306   咨询及人才点击发送消息给对方138011526

GMT+8, 2025/11/29 01:43 , Processed in 0.018743 second(s), 16 queries , File On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表