-
allow_url_fopen
boolean
-
This
option
enables
the
URL-aware
fopen
wrappers
that
enable
accessing
URL
object
like
files
.
Default
wrappers
are
provided
for
the
access
of
remote
files
using
the
ftp
or
http
protocol
,
some
extensions
like
zlib
may
register
additional
wrappers
.
הערה
:
This
option
was
introduced
immediately
after
the
release
of
version
4.0.3
.
For
versions
up
to
and
including
4.0.3
you
can
only
disable
this
feature
at
compile
time
by
using
the
configuration
switch
--d
isable-url-fopen-wrapper
.
-
asp_tags
boolean
-
Enables
the
use
of
ASP-like
%
%
tags
in
addition
to
the
usual
?php
?
tags
.
This
includes
the
variable-value
printing
shorthand
of
%=
$value
%
.
For
more
information
,
see
Escaping
from
HTML
.
הערה
:
Support
for
ASP-style
tags
was
added
in
3.0.4
.
-
auto_append_file
string
-
Specifies
the
name
of
a
file
that
is
automatically
parsed
after
the
main
file
.
The
file
is
included
as
if
it
was
called
with
the
include(
)
function
,
so
include_path
is
used
.
The
special
value
none
disables
auto-appending
.
הערה
:
If
the
script
is
terminated
with
exit(
)
,
auto-append
will
not
occur
.
-
auto_prepend_file
string
-
Specifies
the
name
of
a
file
that
is
automatically
parsed
before
the
main
file
.
The
file
is
included
as
if
it
was
called
with
the
include(
)
function
,
so
include_path
is
used
.
The
special
value
none
disables
auto-prepending
.
-
cgi_ext
string
-
-
display_errors
boolean
-
This
determines
whether
errors
should
be
printed
to
the
screen
as
part
of
the
HTML
output
or
not
.
-
doc_root
string
-
PHP'
s
"root
directory
"
on
the
server
.
Only
used
if
non-empty
.
If
PHP
is
configured
with
safe
mode
,
no
files
outside
this
directory
are
served
.
-
engine
boolean
-
This
directive
is
really
only
useful
in
the
Apache
module
version
of
PHP
.
It
is
used
by
sites
that
would
like
to
turn
PHP
parsing
on
and
off
on
a
per-directory
or
per-virtual
server
basis
.
By
putting
engine
off
in
the
appropriate
places
in
the
httpd.conf
file
,
PHP
can
be
enabled
or
disabled
.
-
error_log
string
-
Name
of
file
where
script
errors
should
be
logged
.
If
the
special
value
syslog
is
used
,
the
errors
are
sent
to
the
system
logger
instead
.
On
UNIX
,
this
means
syslog(
3
)
and
on
Windows
NT
it
means
the
event
log
.
The
system
logger
is
not
supported
on
Windows
95
.
-
error_reporting
integer
-
Set
the
error
reporting
level
.
The
parameter
is
an
integer
representing
a
bit
field
.
Add
the
values
of
the
error
reporting
levels
you
want
.
טבלה
3-1
.
Error
Reporting
Levels
bit
value
|
enabled
reporting
|
1
|
normal
errors
|
2
|
normal
warnings
|
4
|
parser
errors
|
8
|
non-critical
style-related
warnings
|
The default value for this directive is 7 (normal
errors, normal warnings and parser errors are shown).
-
html_errors
boolean
-
Turn
off
HTML
tags
in
error
messages
.
-
open_basedir
string
-
Limit
the
files
that
can
be
opened
by
PHP
to
the
specified
directory-tree
.
When
a
script
tries
to
open
a
file
with
,
for
example
,
fopen
or
gzopen
,
the
location
of
the
file
is
checked
.
When
the
file
is
outside
the
specified
directory-tree
,
PHP
will
refuse
to
open
it
.
All
symbolic
links
are
resolved
,
so
it
'
s
not
possible
to
avoid
this
restriction
with
a
symlink
.
The
special
value
.
indicates
that
the
directory
in
which
the
script
is
stored
will
be
used
as
base-directory
.
Under
Windows
,
separate
the
directories
with
a
semicolon
.
On
all
other
systems
,
separate
the
directories
with
a
colon
.
As
an
Apache
module
,
open_basedir
paths
from
parent
directories
are
now
automatically
inherited
.
The
restriction
specified
with
open_basedir
is
actually
a
prefix
,
not
a
directory
name
.
This
means
that
"
open_basedir
=
/
dir
/
incl
"
also
allows
access
to
"
/
dir
/
include
"
and
"
/
dir
/
incls
"
if
they
exist
.
When
you
want
to
restrict
access
to
only
the
specified
directory
,
end
with
a
slash
.
For
example
:
"
open_basedir
=
/
dir
/
incl
/
"
הערה
:
Support
for
multiple
directories
was
added
in
3.0.7
.
The
default
is
to
allow
all
files
to
be
opened
.
-
gpc_order
string
-
Set
the
order
of
GET
/
POST
/
COOKIE
variable
parsing
.
The
default
setting
of
this
directive
is
"
GPC
"
.
Setting
this
to
"
GP
"
,
for
example
,
will
cause
PHP
to
completely
ignore
cookies
and
to
overwrite
any
GET
method
variables
with
POST-method
variables
of
the
same
name
.
Note
,
that
this
option
is
not
available
in
PHP
4
.
Use
variables_order
instead
.
-
variables_order
string
-
Set
the
order
of
the
EGPCS
(
Environment
,
GET
,
POST
,
Cookie
,
Server
)
variable
parsing
.
The
default
setting
of
this
directive
is
"
EGPCS
"
.
Setting
this
to
"
GP
"
,
for
example
,
will
cause
PHP
to
completely
ignore
environment
variables
,
cookies
and
server
variables
,
and
to
overwrite
any
GET
method
variables
with
POST-method
variables
of
the
same
name
.
See
also
register_globals
.
-
ignore_user_abort
boolean
-
TRUE
by
default
.
If
changed
to
FALSE
scripts
will
be
terminated
as
soon
as
they
try
to
output
something
after
a
client
has
aborted
their
connection
.
See
also
ignore_user_abort(
)
.
-
implicit_flush
boolean
-
FALSE
by
default
.
Changing
this
to
TRUE
tells
PHP
to
tell
the
output
layer
to
flush
itself
automatically
after
every
output
block
.
This
is
equivalent
to
calling
the
PHP
function
flush(
)
after
each
and
every
call
to
print(
)
or
echo(
)
and
each
and
every
HTML
block
.
When
using
PHP
within
an
web
environment
,
turning
this
option
on
has
serious
performance
implications
and
is
generally
recommended
for
debugging
purposes
only
.
This
value
defaults
to
TRUE
when
operating
under
the
CLI
SAPI
.
-
include_path
string
-
Specifies
a
list
of
directories
where
the
require(
)
,
include(
)
and
fopen_with_path(
)
functions
look
for
files
.
The
format
is
like
the
system
'
s
PATH
environment
variable
:
a
list
of
directories
separated
with
a
colon
in
UNIX
or
semicolon
in
Windows
.
דוגמה
3-3
.
UNIX
include_path
include_path=.
:
/
home
/
httpd
/
php-lib
|
|
דוגמה
3-4
.
Windows
include_path
include_path="
.;c:\www\phplib
"
|
|
The default value for this directive is
.
(only the current directory).
-
isapi_ext
string
-
-
log_errors
boolean
-
Tells
whether
script
error
messages
should
be
logged
to
the
server
'
s
error
log
.
This
option
is
thus
server-specific
.
-
magic_quotes_gpc
boolean
-
Sets
the
magic_quotes
state
for
GPC
(
Get
/
Post
/
Cookie
)
operations
.
When
magic_quotes
are
on
,
all
'
(single-quote)
,
"
(double
quote)
,
\
(backslash
)
and
NUL
's
are
escaped
with
a
backslash
automatically
.
If
magic_quotes_sybase
is
also
on
,
a
single-quote
is
escaped
with
a
single-quote
instead
of
a
backslash
.
-
magic_quotes_runtime
boolean
-
If
magic_quotes_runtime
is
enabled
,
most
functions
that
return
data
from
any
sort
of
external
source
including
databases
and
text
files
will
have
quotes
escaped
with
a
backslash
.
If
magic_quotes_sybase
is
also
on
,
a
single-quote
is
escaped
with
a
single-quote
instead
of
a
backslash
.
-
magic_quotes_sybase
boolean
-
If
magic_quotes_sybase
is
also
on
,
a
single-quote
is
escaped
with
a
single-quote
instead
of
a
backslash
if
magic_quotes_gpc
or
magic_quotes_runtime
is
enabled
.
-
max_execution_time
integer
-
This
sets
the
maximum
time
in
seconds
a
script
is
allowed
to
run
before
it
is
terminated
by
the
parser
.
This
helps
prevent
poorly
written
scripts
from
tying
up
the
server
.
The
default
setting
is
30
.
The
maximum
execution
time
is
not
affected
by
system
calls
,
the
sleep(
)
function
,
etc
.
Please
see
the
set_time_limit(
)
function
for
more
details
.
-
memory_limit
integer
-
This
sets
the
maximum
amount
of
memory
in
bytes
that
a
script
is
allowed
to
allocate
.
This
helps
prevent
poorly
written
scripts
for
eating
up
all
available
memory
on
a
server
.
-
nsapi_ext
string
-
-
precision
integer
-
The
number
of
significant
digits
displayed
in
floating
point
numbers
.
-
register_argc_argv
boolean
-
Tells
PHP
whether
to
declare
the
argv
argc
variables
(
that
would
contain
the
GET
information
)
.
See
also
command
line
.
Also
,
this
directive
became
available
in
PHP
4.0.0
and
was
always
"
on
"
before
that
.
-
post_max_size
integer
-
Sets
max
size
of
post
data
allowed
.
This
setting
also
affects
file
upload
.
To
upload
large
files
,
this
value
must
be
larger
than
upload_max_filesize
.
If
memory
limit
is
enabled
by
configure
script
,
memory_limit
also
affects
file
uploading
.
Generally
speaking
,
memory_limit
should
be
larger
than
post_max_size
.
-
register_globals
boolean
-
Tells
whether
or
not
to
register
the
EGPCS
(
Environment
,
GET
,
POST
,
Cookie
,
Server
)
variables
as
global
variables
.
You
may
want
to
turn
this
off
if
you
don'
t
want
to
clutter
your
scripts
'
global
scope
with
user
data
.
This
makes
the
most
sense
when
coupled
with
track_vars
-
in
which
case
you
can
access
all
of
the
EGPCS
variables
through
the
$_ENV
,
$_GET
,
$_POST
,
$_COOKIE
,
and
$_SERVER
arrays
in
the
global
scope
.
Please
note
that
you
need
to
set
AllowOveride
All
in
your
Directory
block
in
the
apache
config
file
for
this
to
work
.
-
short_open_tag
boolean
-
Tells
whether
the
short
form
(
?
?
)
of
PHP
's
open
tag
should
be
allowed
.
If
you
want
to
use
PHP
in
combination
with
XML
,
you
have
to
disable
this
option
.
If
disabled
,
you
must
use
the
long
form
of
the
open
tag
(
?php
?
)
.
-
sql.safe_mode
boolean
-
-
track_errors
boolean
-
If
enabled
,
the
last
error
message
will
always
be
present
in
the
global
variable
$php_errormsg
.
-
track_vars
boolean
-
If
enabled
,
then
Environment
,
GET
,
POST
,
Cookie
,
and
Server
variables
can
be
found
in
the
global
associative
arrays
$_ENV
,
$_GET
,
$_POST
,
$_COOKIE
,
and
$_SERVER
.
Note
that
as
of
PHP
4.0.3
,
track_vars
is
always
turned
on
.
-
upload_tmp_dir
string
-
The
temporary
directory
used
for
storing
files
when
doing
file
upload
.
Must
be
writable
by
whatever
user
PHP
is
running
as
.
-
upload_max_filesize
integer
-
The
maximum
size
of
an
uploaded
file
.
The
value
is
in
bytes
.
-
user_dir
string
-
The
base
name
of
the
directory
used
on
a
user
'
s
home
directory
for
PHP
files
,
for
example
public_html
.
-
warn_plus_overloading
boolean
-
If
enabled
,
this
option
makes
PHP
output
a
warning
when
the
plus
(
+
)
operator
is
used
on
strings
.
This
is
to
make
it
easier
to
find
scripts
that
need
to
be
rewritten
to
using
the
string
concatenator
instead
(
.
)
.