php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #15088 Problem with disable_functions on Apache 1.3.20 and PHP 4.1.1
Submitted: 2002-01-17 16:15 UTC Modified: 2002-07-11 02:52 UTC
Votes:7
Avg. Score:5.0 ± 0.0
Reproduced:4 of 4 (100.0%)
Same Version:3 (75.0%)
Same OS:3 (75.0%)
From: gdizier at trigidia dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.1.1 OS: Windows 2000 Srv fr SP2
Private report: No CVE-ID: None
 [2002-01-17 16:15 UTC] gdizier at trigidia dot com
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
 smtpserver@usuga.net smtpserver@usuga.net 
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

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-11 02:20 UTC] sniper@php.net
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..)

 [2002-07-11 02:52 UTC] philip@php.net
Now documented in config.xml (php.net/configuration) and will show up shortly.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Aug 17 23:01:27 2024 UTC