Changed some settings from "1" to "On"
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<HEAD>
|
||||
<TITLE>Moodle Docs: Installation</TITLE>
|
||||
<LINK REL="stylesheet" HREF="../theme/standard/styles.php" TYPE="TEXT/CSS">
|
||||
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
|
||||
</HEAD>
|
||||
|
||||
<BODY BGCOLOR="#FFFFFF">
|
||||
@@ -169,10 +170,10 @@
|
||||
have things set differently. These are defined in PHP's configuration
|
||||
file (usually called php.ini):</p>
|
||||
<blockquote>
|
||||
<pre>file_uploads = 1
|
||||
magic_quotes_gpc = 1
|
||||
short_open_tag = 1
|
||||
session.auto_start = 0
|
||||
<pre>file_uploads = On
|
||||
magic_quotes_gpc = On
|
||||
short_open_tag = On
|
||||
session.auto_start = Off
|
||||
</pre>
|
||||
</blockquote>
|
||||
<p>If you don't have access to httpd.conf or php.ini on your server, or you
|
||||
@@ -184,10 +185,10 @@ session.auto_start = 0
|
||||
This only works on Apache servers and only when Overrides have been allowed.
|
||||
<BLOCKQUOTE><PRE>
|
||||
DirectoryIndex index.php index.html index.htm
|
||||
php_value magic_quotes_gpc 1
|
||||
php_value file_uploads 1
|
||||
php_value short_open_tag 1
|
||||
php_value session.auto_start 0</BLOCKQUOTE></PRE>
|
||||
php_value magic_quotes_gpc On
|
||||
php_value file_uploads On
|
||||
php_value short_open_tag On
|
||||
php_value session.auto_start 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