티스토리 뷰
Windows의 IIS는 Apache와 달리 .htaccess, httpd.conf로 PHP의 설정을 변경하는게 안된다!
아우 짜증 +.+
그래서 PHP 메뉴얼을 찾아보았는데 그에 근접하게 레지스트리를 이용한 방법이 있었다.
단, 모든 것이 가능한것은 아니다.
몇몇 부분만 레지스트리로 지정할수 있는데 그래도 만족이이다. ^.^
(만일 몇몇 부분 보다 더 지정하고 싶다면 그것은 PHP 소스를 받아서 수정하고 다시 컴파일 하여야 할것이다...)
레지스트리의 저장 위치는
"HKLM\SOFTWARE\PHP\Per Directory Values\디렉토리" 된다.
예를 들면 IIS의 최초 설치시 기본 경로인 c:\inetpub\wwwroot
"HKLM\SOFTWARE\PHP\Per Directory Values\c\inetpub\wwwroot"에 지정하면 된다.
PHP_INI_USER로 변경 가능한 값만 지정 가능하다.
변경 가능한 내용은 다음과 같다.(PHP 버전에 따라 틀리수도 있으니 꼭 메뉴얼을 참고 한다.)
PHP 5.2.1.0 기준
이름 | 기본값 |
allow_url_fopen | "1" |
allow_url_include | "0" |
apc.cache_by_default | "1" |
apc.optimization | "0" |
apd.bitmask | "0" |
apd.dumpdir | NULL |
apd.statement_tracing | "0" |
arg_separator | "&" |
arg_separator.output | "&" |
assert.active | "1" |
assert.bail | "0" |
assert.callback | NULL |
assert.quiet_eval | "0" |
assert.warning | "1" |
async_send | "0" |
auto_detect_line_endings | "0" |
axis2.client_home | "~/work/axisc/c/deply" |
axis2.enable_exception | "1" |
axis2.enable_trace | "1" |
axis2.log_path | "/tmp" |
bcmath.scale | "0" |
bcompiler.enabled | "1" |
birdstep.max_links | "-1" |
blenc.key_file | "/usr/local/etc/blenckeys" |
cgi.nph | "0" |
cgi.rfc2616_headers | "0" |
child_terminate | "0" |
coin_acceptor.autoreset | "On" |
coin_acceptor.auto_initialize | "Off" |
coin_acceptor.auto_reset | "On" |
coin_acceptor.command_function | "Off" |
coin_acceptor.delay | "53132" |
coin_acceptor.delay_coins | "53132" |
coin_acceptor.delay_prom | "55748" |
coin_acceptor.device | "/dev/ttyS1" |
coin_acceptor.lock_on_close | "Off" |
coin_acceptor.start_unlocked | "On" |
com.autoregister_casesensitive | "1" |
com.autoregister_typelib | "0" |
com.autoregister_verbose | "0" |
com.code_page | "" |
daffodildb.default_host | "localhost" |
daffodildb.default_password | "daffodil" |
daffodildb.default_socket | NULL |
daffodildb.default_user | "DAFFODIL" |
daffodildb.port | "3456" |
date.default_latitude | "31.7667" |
date.default_longitude | "35.2333" |
date.sunrise_zenith | "90.583333" |
date.sunset_zenith | "90.583333" |
date.timezone | "" |
dba.default_handler | "" |
default_charset | "" |
default_mimetype | "text/html" |
default_socket_timeout | "60" |
define_syslog_variables | "0" |
detect_unicode | "1" |
display_errors | "1" |
display_startup_errors | "0" |
docref_ext | "" |
docref_root | "" |
engine | "1" |
error_append_string | NULL |
error_log | NULL |
error_prepend_string | NULL |
error_reporting | NULL |
etpan.default.charset | "utf-8" |
etpan.default.protocol | "imap" |
exif.decode_jis_intel | "JIS" |
exif.decode_jis_motorola | "JIS" |
exif.decode_unicode_intel | "UCS-2LE" |
exif.decode_unicode_motorola | "UCS-2BE" |
exif.encode_jis | "" |
exif.encode_unicode | "ISO-8859-15" |
expect.logfile | "" |
expect.loguser | "1" |
expect.timeout | "10" |
fbsql.batchsize | "1000" |
from | "" |
gd.jpeg_ignore_warning | "0" |
geoip.custom_directory | NULL |
geoip.database_standard | "GeoIP.dat" |
gpc_order | "GPC" |
highlight.bg | "#FFFFFF" |
highlight.comment | "#FF8000" |
highlight.default | "#0000BB" |
highlight.html | "#000000" |
highlight.keyword | "#007700" |
highlight.string | "#DD0000" |
html_errors | "1" |
http.allowed_methods | "" |
http.allowed_methods_log | "" |
http.cache_log | "" |
http.composite_log | "" |
http.etag.mode | "MD5" |
http.etag_mode | "MD5" |
http.force_exit | "1" |
http.log.allowed_methods | "" |
http.log.cache | "" |
http.log.composite | "" |
http.log.not_found | "" |
http.log.redirect | "" |
http.ob_deflate_flags | "0" |
http.ob_inflate_flags | "0" |
http.only_exceptions | "0" |
http.persistent.handles.ident | "GLOBAL" |
http.redirect_log | "" |
http.request.methods.allowed | "" |
http.send.deflate.start_flags | "0" |
http.send.inflate.start_flags | "0" |
http.send.not_found_404 | "1" |
hyperwave.default_port | "418" |
ibase.dateformat | "%Y-%m-%d" |
ibase.default_charset | NULL |
ibase.default_password | NULL |
ibase.default_user | NULL |
ibase.timeformat | "%H:%M:%S" |
ibase.timestampformat | "%Y-%m-%d %H:%M:%S" |
ibm_db2.binmode | "1" |
iconv.input_encoding | "ISO-8859-1" |
iconv.internal_encoding | "ISO-8859-1" |
iconv.output_encoding | "ISO-8859-1" |
ifx.blobinfile | "1" |
ifx.byteasvarchar | "0" |
ifx.charasvarchar | "0" |
ifx.nullformat | "0" |
ifx.textasvarchar | "0" |
ignore_repeated_errors | "0" |
ignore_repeated_source | "0" |
ignore_user_abort | "0" |
imlib2.font_cache_max_size | "524288" |
imlib2.font_path | "/usr/share/php/fonts/" |
implicit_flush | "0" |
include_path | ".;/path/to/php/pear" |
ingres.array_index_start | "1" |
ingres.blob_segment_length | "4096" |
ingres.cursor_mode | "0" |
ingres.default_database | NULL |
ingres.default_password | NULL |
ingres.default_user | NULL |
ingres.report_db_warnings | "1" |
ingres.timeout | "-1" |
ingres.trace_connect | "0" |
ircg.control_user | "nobody" |
ircg.keep_alive_interval | "60" |
ircg.max_format_message_sets | "12" |
ircg.shared_mem_size | "6000000" |
ircg.work_dir | "/tmp/ircg" |
last_modified | "0" |
ldap.base_dn | NULL |
log.dbm_dir | "" |
log_errors | "0" |
log_errors_max_len | "1024" |
magic_quotes_runtime | "0" |
magic_quotes_sybase | "0" |
mail.log | "" |
mailparse.def_charset | "us-ascii" |
maxdb.default_db | NULL |
maxdb.default_host | NULL |
maxdb.default_pw | NULL |
maxdb.default_user | NULL |
maxdb.long_readlen | "200" |
max_execution_time | "30" |
mbstring.detect_order | NULL |
mbstring.http_input | "pass" |
mbstring.http_output | "pass" |
mbstring.internal_encoding | NULL |
mbstring.script_encoding | NULL |
mbstring.strict_detection | "0" |
mbstring.substitute_character | NULL |
mcrypt.algorithms_dir | NULL |
mcrypt.modes_dir | NULL |
memcache.allow_failover | "1" |
memcache.chunk_size | "8192" |
memcache.default_port | "11211" |
memcache.hash_function | "crc32" |
memcache.hash_strategy | "standard" |
memcache.max_failover_attempts | "20" |
memory_limit | "128M" |
msql.allow_persistent | "1" |
msql.max_links | "-1" |
msql.max_persistent | "-1" |
mssql.batchsize | "0" |
mssql.charset | "" |
mssql.compatability_mode | "0" |
mssql.connect_timeout | "5" |
mssql.datetimeconvert | "1" |
mssql.max_procs | "-1" |
mssql.min_error_severity | "10" |
mssql.min_message_severity | "10" |
mssql.textlimit | "-1" |
mssql.textsize | "-1" |
mssql.timeout | "60" |
mysql.connect_timeout | "60" |
mysql.default_host | NULL |
mysql.default_password | NULL |
mysql.default_port | NULL |
mysql.default_socket | NULL |
mysql.default_user | NULL |
mysql.trace_mode | "0" |
mysqli.default_host | NULL |
mysqli.default_port | "3306" |
mysqli.default_pw | NULL |
mysqli.default_socket | NULL |
mysqli.default_user | NULL |
namazu.debugmode | "0" |
namazu.lang | NULL |
namazu.loggingmode | "0" |
namazu.sortmethod | NULL |
namazu.sortorder | NULL |
nsapi.read_timeout | "60" |
odbc.defaultbinmode | "1" |
odbc.defaultlrl | "4096" |
odbc.default_db | NULL |
odbc.default_pw | NULL |
odbc.default_user | NULL |
odbtp.datetime_format | "object" |
odbtp.detach_default_queries | "0" |
odbtp.guid_format | "string" |
odbtp.interface_file | "/usr/local/share/odbtp.conf" |
odbtp.truncation_errors | "1" |
opendirectory.default_separator | "/" |
opendirectory.max_refs | "-1" |
opendirectory.separator | "/" |
open_basedir | NULL |
oracle.allow_persistent | "-1" |
oracle.max_links | "-1" |
oracle.max_persistent | "-1" |
pam.servicename | "php" |
pcre.backtrack_limit | "100000" |
pcre.recursion_limit | "100000" |
pdo_odbc.connection_pooling | "strict" |
pfpro.defaulthost | "test-payflow.verisign.com" |
pfpro.defaultport | "443" |
pfpro.defaulttimeout | "30" |
pfpro.proxyaddress | "" |
pfpro.proxylogon | "" |
pfpro.proxypassword | "" |
pfpro.proxyport | "" |
pgsql.ignore_notice | "0" |
pgsql.log_notice | "0" |
phar.extract_list | "" |
phar.readonly | "1" |
phar.require_hash | "1" |
precision | "14" |
printer.default_printer | "" |
python.append_path | "" |
python.prepend_path | "." |
report_memleaks | "1" |
report_zend_debug | "1" |
sendmail_from | NULL |
serialize_precision | "100" |
session.auto_start | "0" |
session.bug_compat_42 | "1" |
session.bug_compat_warn | "1" |
session.cache_expire | "180" |
session.cache_limiter | "nocache" |
session.cookie_domain | "" |
session.cookie_httponly | "" |
session.cookie_lifetime | "0" |
session.cookie_path | "/" |
session.cookie_secure | "" |
session.entropy_file | "" |
session.entropy_length | "0" |
session.gc_dividend | "100" |
session.gc_divisor | "100" |
session.gc_maxlifetime | "1440" |
session.gc_probability | "1" |
session.hash_bits_per_character | "4" |
session.hash_function | "0" |
session.name | "PHPSESSID" |
session.referer_check | "" |
session.save_handler | "files" |
session.save_path | "" |
session.serialize_handler | "php" |
session.use_cookies | "1" |
session.use_only_cookies | "1" |
session.use_trans_sid | "0" |
short_open_tag | "1" |
simple_cvs.authMethod | "0" |
simple_cvs.compressionLevel | "0" |
simple_cvs.cvsRoot | "0" |
simple_cvs.host | "0" |
simple_cvs.moduleName | "0" |
simple_cvs.userName | "0" |
simple_cvs.workingDir | "0" |
SMTP | "localhost" |
smtp_port | "25" |
soap.wsdl_cache | "1" |
soap.wsdl_cache_dir | "/tmp" |
soap.wsdl_cache_enabled | "1" |
soap.wsdl_cache_limit | "5" |
soap.wsdl_cache_ttl | "86400" |
sqlite.assoc_case | "0" |
sqlite.iso8859.locale | "1" |
sybase.allow_persistent | "1" |
sybase.hostname | NULL |
sybase.interface_file | "" |
sybase.login_timeout | "0" |
sybase.max_links | "-1" |
sybase.max_persistent | "-1" |
sybase.min_client_severity | "10" |
sybase.min_error_severity | "10" |
sybase.min_message_severity | "10" |
sybase.min_server_severity | "10" |
sybase.timeout | "0" |
sybct.deadlock_retry_count | "0" |
sybct.hostname | NULL |
sybct.login_timeout | "-1" |
sybct.min_client_severity | "10" |
sybct.min_server_severity | "10" |
sybct.packet_size | "0" |
sybct.timeout | "0" |
sysvshm.init_mem | "10000" |
tidy.clean_output | "0" |
track_errors | "0" |
track_vars | "1" |
unicode.fallback_encoding | NULL |
unicode.filesystem_encoding | NULL |
unicode.http_input_encoding | NULL |
unicode.output_encoding | NULL |
unicode.runtime_encoding | NULL |
unicode.script_encoding | NULL |
unicode.stream_encoding | "UTF-8" |
unserialize_callback_func | NULL |
uploadprogress.file.filename_template | "/tmp/upt_%s.txt" |
url_rewriter.tags | "a=href,area=href,frame=src,form=,fieldset=" |
user_agent | NULL |
valkyrie.auto_validate | "0" |
valkyrie.config_path | NULL |
velocis.max_links | "-1" |
xbithack | "0" |
xdebug.auto_profile | "0" |
xdebug.auto_profile_mode | "0" |
xdebug.auto_trace | "0" |
xdebug.collect_includes | "1" |
xdebug.collect_params | "0" |
xdebug.collect_return | "0" |
xdebug.collect_vars | "0" |
xdebug.default_enable | "1" |
xdebug.dump.COOKIE | NULL |
xdebug.dump.ENV | NULL |
xdebug.dump.FILES | NULL |
xdebug.dump.GET | NULL |
xdebug.dump.POST | NULL |
xdebug.dump.REQUEST | NULL |
xdebug.dump.SERVER | NULL |
xdebug.dump.SESSION | NULL |
xdebug.dump_globals | "1" |
xdebug.dump_once | "1" |
xdebug.dump_undefined | "0" |
xdebug.idekey | "" |
xdebug.manual_url | "http://www.php.net" |
xdebug.max_nesting_level | "100" |
xdebug.remote_autostart | "0" |
xdebug.remote_handler | "dbgp" |
xdebug.remote_host | "localhost" |
xdebug.remote_log | "" |
xdebug.remote_mode | "req" |
xdebug.remote_port | "9000" |
xdebug.show_exception_trace | "0" |
xdebug.show_local_vars | "0" |
xdebug.show_mem_delta | "0" |
xdebug.trace_format | "0" |
xdebug.trace_options | "0" |
xdebug.trace_output_dir | "/tmp" |
xdebug.trace_output_name | "trace.%c" |
xdebug.var_display_max_children | "128" |
xdebug.var_display_max_data | "512" |
xdebug.var_display_max_depth | "3" |
xmlrpc_error_number | "0" |
xmms.path | "/usr/bin/xmms" |
xmms.session | "0" |
y2k_compliance | "1" |
yami.response.timeout | "5" |
yaz.keepalive | "120" |
yaz.log_file | NULL |
yaz.log_mask | NULL |
yaz.max_links | "100" |
zend.ze1_compatibility_mode | "0" |
zlib.output_compression | "0" |
zlib.output_compression_level | "-1" |
zlib.output_handler | "" |
'Web Tech > PHP' 카테고리의 다른 글
MAMP 사용 환경에서 MySQL 쿼리 디버그 팁 (0) | 2012.05.19 |
---|---|
CGI 프로그래밍 예제 (0) | 2012.02.13 |
PHPUnitFramework 를 이용한 TDD (0) | 2011.06.13 |
PHP5 익명 변수, 익명 인스턴스 (0) | 2011.01.29 |
Dynamic Table (동적 테이블) ROW(열) 삽입 크로스브라우징 (0) | 2010.12.26 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- god knows
- 음악
- 오디지
- 사운드블라스터
- 유틸
- 그누보드
- 제주
- 드라이버
- Xbox360
- 매킨토시
- IT·컴퓨터
- 에니메이션OST
- MAC
- 눈
- 유틸 활용
- 자바
- PS2
- 맥북
- 메모리부팅
- 맥
- windows 7
- OSX
- javascript
- 사이버포뮬러
- 유틸리티
- 제주대학교
- php
- Mac osX
- Objective C
- 스즈미야 하루히의 우울
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
글 보관함