From: moodler Date: Mon, 19 May 2003 02:28:47 +0000 (+0000) Subject: Updated docs about using php_flag settings instead of php_value X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=730cb6bac3a7ff621fe13280f6433546e26aded0;p=moodle.git Updated docs about using php_flag settings instead of php_value --- diff --git a/lang/en/docs/install.html b/lang/en/docs/install.html index 21c8c47367..f3f8cefb58 100644 --- a/lang/en/docs/install.html +++ b/lang/en/docs/install.html @@ -180,12 +180,12 @@ file (usually called php.ini):

-
magic_quotes_gpc = On
-magic_quotes_runtime = Off
-file_uploads = On
-short_open_tag = On
-session.auto_start = Off
-session.bug_compat_warn = Off
+
magic_quotes_gpc = 1
+magic_quotes_runtime = 0
+file_uploads = 1
+short_open_tag = 1
+session.auto_start = 0
+session.bug_compat_warn = 0
 

If you don't have access to httpd.conf or php.ini on your server, or you @@ -202,14 +202,15 @@ DirectoryIndex index.php index.html index.htm AcceptPathInfo on </IfDefine> -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 -php_value session.bug_compat_warn Off +php_flag magic_quotes_gpc 1 +php_flag magic_quotes_runtime 0 +php_flag file_uploads 1 +php_flag short_open_tag 1 +php_flag session.auto_start 0 +php_flag session.bug_compat_warn 0

You can also do things like define the maximum size for uploaded files:

+LimitRequestBody 0
 php_value upload_max_filesize 2M
 php_value post_max_size 2M