ID:               15088
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
-Bug Type:         PHP options/info functions
+Bug Type:         Documentation problem
 Operating System: Windows 2000 Srv fr SP2
 PHP Version:      4.1.1
 New Comment:

This is not bug. 'disable_functions' can only be set in php.ini.

Some note somewhere in the manual might be in order here?
(no idea WHERE in manual though..)



Previous Comments:
------------------------------------------------------------------------

[2002-01-17 16:15:18] [EMAIL PROTECTED]

Hi, 

I have installed PHP 4.1.1 and Apache 1.3.20 on my windows 2000 server
Fr SP2.

I have set :

<Location "/users/">
      php_admin_flag safe_mode on
      php_admin_value disable_functions fread,fopen,system,phpinfo
</Location>

in httpd.conf file but functions is not disabled!

Follow the phpinfo page on my server in location users

Directive Local Value Master Value 
allow_call_time_pass_reference
 On On 
allow_url_fopen
 1 1 
always_populate_raw_post_data
 0 0 
arg_separator.input
 & & 
arg_separator.output
 & & 
asp_tags
 Off Off 
auto_append_file
 no value no value 
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_functions
 fread,fopen,system,phpinfo no value 
display_errors
 On On 
display_startup_errors
 Off Off 
doc_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
 2039 2039 
expose_php
 On On 
extension_dir
 d:\inetpub\wwwroot\php4\extensions d:\inetpub\wwwroot\php4\extensions

file_uploads
 1 1 
gpc_order
 GPC GPC 
highlight.bg
 #FFFFFF #FFFFFF 
highlight.comment
 #FF9900 #FF9900 
highlight.default
 #0000CC #0000CC 
highlight.html
 #000000 #000000 
highlight.keyword
 #006600 #006600 
highlight.string
 #CC0000 #CC0000 
html_errors
 On On 
ignore_user_abort
 Off Off 
implicit_flush
 Off Off 
include_path
 no value no value 
log_errors
 Off Off 
magic_quotes_gpc
 On On 
magic_quotes_runtime
 Off Off 
magic_quotes_sybase
 Off Off 
max_execution_time
 30 30 
open_basedir
 no value no value 
output_buffering
 no value no value 
output_handler
 no value no value 
post_max_size
 8M 8M 
precision
 14 14 
register_argc_argv
 On On 
register_globals
 On On 
safe_mode
 On On 
safe_mode_exec_dir
 d:/inetpub/wwwroot/usuga/ d:/inetpub/wwwroot/usuga/ 
safe_mode_gid
 Off Off 
safe_mode_include_dir
 no value no value 
sendmail_from
 [EMAIL PROTECTED] [EMAIL PROTECTED] 
sendmail_path
 no value no value 
short_open_tag
 On On 
SMTP
 localhost localhost 
sql.safe_mode
 Off Off 
track_errors
 Off Off 
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
 Off Off 


Thank for your help.

Grégory Dizier


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


-- 
Edit this bug report at http://bugs.php.net/?id=15088&edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to