Added some missing PHP variables to make it consistent with lib/htaccess
This commit is contained in:
@@ -170,10 +170,13 @@
|
||||
have things set differently. These are defined in PHP's configuration
|
||||
file (usually called php.ini):</p>
|
||||
<blockquote>
|
||||
<pre>file_uploads = On
|
||||
magic_quotes_gpc = On
|
||||
|
||||
<pre>magic_quotes_gpc = On
|
||||
magic_quotes_runtime = Off
|
||||
file_uploads = On
|
||||
short_open_tag = On
|
||||
session.auto_start = Off
|
||||
session.bug_compat_warn = Off
|
||||
</pre>
|
||||
</blockquote>
|
||||
<p>If you don't have access to httpd.conf or php.ini on your server, or you
|
||||
@@ -186,9 +189,11 @@ session.auto_start = Off
|
||||
<BLOCKQUOTE><PRE>
|
||||
DirectoryIndex index.php index.html index.htm
|
||||
php_value magic_quotes_gpc On
|
||||
php_value magic_quotes_runtime Off
|
||||
php_value file_uploads On
|
||||
php_value short_open_tag On
|
||||
php_value session.auto_start Off</BLOCKQUOTE></PRE>
|
||||
php_value session.auto_start Off
|
||||
php_value session.bug_compat_warn Off</BLOCKQUOTE></PRE>
|
||||
<P>You can also do things like define the maximum size for uploaded files:
|
||||
<BLOCKQUOTE><PRE>
|
||||
php_value upload_max_filesize 2M
|
||||
|
||||
Reference in New Issue
Block a user