Lycos的100MLinux空间PHP配置

王朝php·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

Lycos的100MPHP空间是建立在Linux平台的,以下是LINUX空间的配置情况:

一、软件版本和参数

Linux:支持php(XML 可以用)、mysql、cgi、shtml,ssl可选

相关软件版本信息:

- PHP 4.1.2

- MySQL3.23.49

- Perl 5.6.1

- Apache 1.3.26(会不断更新的)

【注】Mysql 不能通过远程联接管理(包括127.0.0.1)。只能用localhost联接。Mysql空间跟WEB空间共享,也就是说WEB空间和MYSQL空间加起来不超过他的虚拟主机空间大小即可。

二、PHP函数

LINUX支持的函数

--disable-debug

--enable-pic

--disable-rpath

--enable-inline-optimization

--with-bz2

--with-db3

--with-gd

--with-gdbm

--with-gettext

--with-mm

--with-openssl

--with-png

--with-regex=system

--with-ttf

--with-zlib

--with-layout=GNU

--enable-debugger

--enable-ftp

--enable-magic-quotes

--enable-safe-mode

--enable-sockets

--enable-sendmail

--enable-sysvsem

--enable-sysvshm

--enable-track-vars

--enable-yp --enable-wddx

--with-mysql

--without-unixODBC

--without-oracle

--without-oci8

--with-xml

【注】禁用phpinfo,system,popen,exec,passthru zend(太占用CUP) 。php运行在safe_mode下,不显示错误,session没有auto start

三、附php.ini配置文件

[PHP]

engine = On

short_open_tag = On

asp_tags = Off

precision = 14

y2k_compliance = Off

output_buffering = Off

output_handler =

zlib.output_compression = Off

implicit_flush = Off

allow_call_time_pass_reference = On

safe_mode = On

safe_mode_exec_dir =

safe_mode_allowed_env_vars = PHP_

safe_mode_protected_env_vars = LD_LIBRARY_PATH

disable_functions = phpinfo,popen,exec,passthru,system

highlight.string = #CC0000

highlight.comment = #FF9900

highlight.keyword = #006600

highlight.bg = #FFFFFF

highlight.default = #0000CC

highlight.html = #000000

expose_php = On

max_execution_time = 30 ; Maximum execution time of each script, in seconds

memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)

error_reporting = E_ALL & ~E_NOTICE

display_errors = Off

display_startup_errors = Off

log_errors = On

track_errors = Off

error_log = /var/log/httpd/php/php_error.log

warn_plus_overloading = Off

variables_order = "EGPCS"

register_globals = On

register_argc_argv = On

post_max_size = 8M

gpc_order = "GPC"

magic_quotes_gpc = On

magic_quotes_runtime = Off

magic_quotes_sybase = Off

auto_prepend_file =

auto_append_file =

default_mimetype = "text/html"

include_path = ".:/php/includes:/usr/share/php"

doc_root =

user_dir =

extension_dir = /usr/lib/php4

enable_dl = On

file_uploads = On

upload_max_filesize = 1M

allow_url_fopen = On

[Syslog]

define_syslog_variables = Off

[mail function]

SMTP = localhost

sendmail_from = me@localhost.com

[Logging]

[Java]

[SQL]

sql.safe_mode = Off

[ODBC]

odbc.allow_persistent = On

odbc.check_persistent = On

odbc.max_persistent = -1

odbc.max_links = -1

odbc.defaultlrl = 4096

odbc.defaultbinmode = 1

[MySQL]

mysql.allow_persistent = On

mysql.max_persistent = -1

mysql.max_links = -1

' at MYSQL_PORT.

mysql.default_port =

mysql.default_socket =

mysql.default_host =

mysql.default_user =

mysql.default_password =

[mSQL]

msql.allow_persistent = On

msql.max_persistent = -1

msql.max_links = -1

[PostgresSQL]

pgsql.allow_persistent = On

pgsql.max_persistent = -1

pgsql.max_links = -1

[Sybase]

sybase.allow_persistent = On

sybase.max_persistent = -1

sybase.max_links = -1

sybase.min_error_severity = 10

sybase.min_message_severity = 10

sybase.compatability_mode = Off

[Sybase-CT]

sybct.allow_persistent = On

sybct.max_persistent = -1

sybct.max_links = -1

sybct.min_server_severity = 10

sybct.min_client_severity = 10

[bcmath]

bcmath.scale = 0

[browscap]

[Informix]

ifx.default_host =

ifx.default_user =

ifx.default_password =

ifx.allow_persistent = On

ifx.max_persistent = -1

ifx.max_links = -1

ifx.textasvarchar = 0

ifx.byteasvarchar = 0

ifx.charasvarchar = 0

ifx.blobinfile = 0

ifx.nullformat = 0

[Session]

session.save_handler = files

session.save_path = /tmp

session.use_cookies = 1

session.name = PHPSESSID

session.auto_start = 0

session.cookie_lifetime = 0

session.cookie_path = /

session.cookie_domain =

session.serialize_handler = php

session.gc_probability = 1

session.gc_maxlifetime = 1440

session.referer_check =

session.entropy_length = 0

session.entropy_file =

session.cache_limiter = nocache

session.cache_expire = 180

session.use_trans_sid = 1

url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"

[MSSQL]

mssql.allow_persistent = On

mssql.max_persistent = -1

mssql.max_links = -1

mssql.min_error_severity = 10

mssql.min_message_severity = 10

mssql.compatability_mode = Off

[Assertion]

[Ingres II]

ingres.allow_persistent = On

ingres.max_persistent = -1

ingres.max_links = -1

ingres.default_database =

ingres.default_user =

ingres.default_password =

[Verisign Payflow Pro]

pfpro.defaulthost = "test.signio.com"

pfpro.defaultport = 443

pfpro.defaulttimeout = 30

[Sockets]

sockets.use_system_read = On

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有  導航