/etc/php.ini
$ diff -u /etc/php.ini /etc/php.ini.original
--- /etc/php.ini 2014-03-02 22:17:11.844828929 +0900
+++ /etc/php.ini.original 2014-03-02 21:25:56.370610281 +0900
@@ -429,7 +429,7 @@
; threat in any way, but it makes it possible to determine whether you use PHP
; on your server or not.
; http://www.php.net/manual/en/ini.core.php#ini.expose-php
-expose_php = Off
+expose_php = On
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
@@ -631,7 +631,7 @@
; empty.
; http://www.php.net/manual/en/errorfunc.configuration.php#ini.error-log
; Example:
-error_log = /var/log/php_errors.log
+;error_log = php_errors.log
; Log errors to syslog (Event Log on NT, not valid in Windows 95).
;error_log = syslog
@@ -726,7 +726,7 @@
; Maximum size of POST data that PHP will accept.
; http://www.php.net/manual/en/ini.core.php#ini.post-max-size
-post_max_size = 100M
+post_max_size = 8M
; Magic quotes are a preprocessing feature of PHP where PHP will attempt to
; escape any character sequences in GET, POST, COOKIE and ENV data which might
@@ -783,7 +783,6 @@
; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
-include_path = ".:/usr/share/php"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"
@@ -876,7 +875,7 @@
; Maximum allowed size for uploaded files.
; http://www.php.net/manual/en/ini.core.php#ini.upload-max-filesize
-upload_max_filesize = 30M
+upload_max_filesize = 2M
;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
@@ -944,7 +943,7 @@
[Date]
; Defines the default timezone used by the date functions
; http://www.php.net/manual/en/datetime.configuration.php#ini.date.timezone
-date.timezone = Asia/Tokyo
+;date.timezone =
; http://www.php.net/manual/en/datetime.configuration.php#ini.date.default-latitude
;date.default_latitude = 31.7667
@@ -1540,17 +1539,17 @@
[mbstring]
; language for internal character representation.
; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.language
-mbstring.language = Japanese
+;mbstring.language = Japanese
; internal/script encoding.
; Some encoding cannot work as internal encoding.
; (e.g. SJIS, BIG5, ISO-2022-*)
; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.internal-encoding
-mbstring.internal_encoding = EUC-JP
+;mbstring.internal_encoding = EUC-JP
; http input encoding.
; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.http-input
-mbstring.http_input = auto
+;mbstring.http_input = auto
; http output encoding. mb_output_handler must be
; registered as output buffer to function
@@ -1568,7 +1567,7 @@
; automatic encoding detection order.
; auto means
; http://www.php.net/manual/en/mbstring.configuration.php#ini.mbstring.detect-order
-mbstring.detect_order = auto
+;mbstring.detect_order = auto
; substitute_character used when character cannot be converted
; one from another