[经验]
关于WIN IIS70主机的PHP5.INI的解决办法。
|
|
| System | Windows NT P3NW8SH080 6.0 build 6001 | | Build Date | Nov 8 2007 23:32:05 | | Configure Command | cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" "--disable-zts" "--disable-isapi" "--disable-activescript" | | Server API | CGI/FastCGI | | Virtual Directory Support | disabled | | Configuration File (php.ini) Path | C:\Windows | | Loaded Configuration File | C:\php5\php.ini | | PHP API | 20041225 | | PHP Extension | 20060613 | | Zend Extension | 220060519 | | Debug Build | no | | Thread Safety | disabled | | Zend Memory Manager | enabled | | IPv6 Support | enabled | | Registered PHP Streams | php, file, data, http, ftp, compress.zlib, https, ftps, zip | | Registered Stream Socket Transports | tcp, udp, ssl, sslv3, sslv2, tls | | Registered Stream Filters | convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, zlib.* |
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
|
|
这是由上传至godaddy空间探针显示的信息,可以看出,godaddy的win IIS70空间默认php5.INI的参数和路径。
这是我们自己编写php.ini的参考依据,如果编写出合适的php.ini上传至自己的空间上,将可以替代原先默认的php.ini,达到改善空间功能的目的。
以下是godaddy默认的php.INi的设置,我们可以酌情修改,更多的php.ini信息大家可以在自己的空间探针里或php info里查询。
希望高手能帮忙写一个支持dedecms的php.ini文件。不胜感激
ConfigurationPHP Core| Directive | Local Value | Master Value | | allow_call_time_pass_reference | Off | Off | | allow_url_fopen | Off | Off | | allow_url_include | Off | Off | | always_populate_raw_post_data | Off | Off | | arg_separator.input | & | & | | arg_separator.output | & | & | | asp_tags | Off | Off | | 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 | | disable_classes | no value | no value | | disable_functions | no value | no value | | display_errors | On | On | | 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 | syslog | syslog | | error_prepend_string | no value | no value | | error_reporting | 7 | 6135 | | expose_php | Off | Off | | extension_dir | c:\php5\ext | c:\php5\ext | | 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 | .;C:\php5\pear | .;C:\php5\pear | | log_errors | On | On | | 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 | 32M | 32M | | open_basedir | no value | no value | | output_buffering | 4096 | 4096 | | output_handler | no value | no value | | post_max_size | 8M | 8M | | precision | 14 | 14 | | realpath_cache_size | 16K | 16K | | realpath_cache_ttl | 120 | 120 | | register_argc_argv | Off | Off | | 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 | webmaster@secureserver.net | webmaster@secureserver.net | | sendmail_path | no value | no value | | serialize_precision | 100 | 100 | | short_open_tag | On | On | | SMTP | relay-hosting.secureserver.net | relay-hosting.secureserver.net | | smtp_port | 25 | 25 | | sql.safe_mode | Off | Off | | track_errors | Off | Off | | unserialize_callback_func | no value | no value | | upload_max_filesize | 8M | 8M | | upload_tmp_dir | D:/Temp/php | D:/Temp/php | | user_dir | no value | no value | | variables_order | GPCS | GPCS | | xmlrpc_error_number | 0 | 0 | | xmlrpc_errors | Off | Off | | y2k_compliance | On | On | | zend.ze1_compatibility_mode | Off | Off |
|
ConfigurationPHP Core| Directive | Local Value | Master Value | | allow_call_time_pass_reference | Off | Off | | allow_url_fopen | Off | Off | | allow_url_include | Off | Off | | always_populate_raw_post_data | Off | Off | | arg_separator.input | & | & | | arg_separator.output | & | & | | asp_tags | Off | Off | | 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 | | disable_classes | no value | no value | | disable_functions | no value | no value | | display_errors | On | On | | 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 | syslog | syslog | | error_prepend_string | no value | no value | | error_reporting | 7 | 6135 | | expose_php | Off | Off | | extension_dir | c:\php5\ext | c:\php5\ext | | 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 | .;C:\php5\pear | .;C:\php5\pear | | log_errors | On | On | | 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 | 32M | 32M | | open_basedir | no value | no value | | output_buffering | 4096 | 4096 | | output_handler | no value | no value | | post_max_size | 8M | 8M | | precision | 14 | 14 | | realpath_cache_size | 16K | 16K | | realpath_cache_ttl | 120 | 120 | | register_argc_argv | Off | Off | | 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 | webmaster@secureserver.net | webmaster@secureserver.net | | sendmail_path | no value | no value | | serialize_precision | 100 | 100 | | short_open_tag | On | On | | SMTP | relay-hosting.secureserver.net | relay-hosting.secureserver.net | | smtp_port | 25 | 25 | | sql.safe_mode | Off | Off | | track_errors | Off | Off | | unserialize_callback_func | no value | no value | | upload_max_filesize | 8M | 8M | | upload_tmp_dir | D:/Temp/php | D:/Temp/php | | user_dir | no value | no value | | variables_order | GPCS | GPCS | | xmlrpc_error_number | 0 | 0 | | xmlrpc_errors | Off | Off | | y2k_compliance | On | On | | zend.ze1_compatibility_mode | Off | Off |
|
mysql| MySQL Support | enabled | | Active Persistent Links | 0 | | Active Links | 0 | | Client API version | 5.0.45 |
| 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 |
|
|
|
|
|
|
|
|
|
|