分享
 
 
 

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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有