{"id":54,"date":"2013-11-04T01:10:44","date_gmt":"2013-11-03T16:10:44","guid":{"rendered":"http:\/\/tech.akat.info\/?p=54"},"modified":"2014-09-16T01:14:04","modified_gmt":"2014-09-15T16:14:04","slug":"php-ini%e5%be%b9%e5%ba%95%e5%88%86%e6%9e%90-2","status":"publish","type":"post","link":"https:\/\/tech.akat.info\/?p=54","title":{"rendered":"php.ini\u5fb9\u5e95\u5206\u6790-2"},"content":{"rendered":"<p>php -v<br \/>\nPHP 5.4.4-14+deb7u5 (cli) (built: Oct 3 2013 09:24:58)<br \/>\nCopyright (c) 1997-2012 The PHP Group<br \/>\nZend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies<br \/>\n\u4ee5\u964dPHP5.4.4\u74b0\u5883\u3067\u5b9f\u65bd<br \/>\n\u2605\u30de\u30fc\u30af\u306f\u4eca\u306e\u3068\u3053\u308d\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u3001\u305d\u306e\u3046\u3061\u5bfe\u5fdc<\/p>\n<h1>[PHP]\u30bb\u30af\u30b7\u30e7\u30f3\u306b\u3064\u3044\u3066<\/h1>\n<h2>engine = On<\/h2>\n<p>PHP \u306b\u3088\u308b\u30d1\u30fc\u30b9\u306e\u30aa\u30f3\/\u30aa\u30d5\u3092\u5207\u308a\u66ff\u3048\u3002Apache\u30e2\u30b8\u30e5\u30fc\u30eb\u7248\u306ePHP\u3067\u306e\u307f\u6709\u52b9<br \/>\nOff\u3068\u3059\u308b\u3068\u3001\u30d1\u30fc\u30b9\u3055\u308c\u306a\u3044\u305f\u3081\u30bd\u30fc\u30b9\u304c\u8868\u793a\u3055\u308c\u308b<br \/>\n<a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2013\/10\/2013-10-29_232422.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-55\" alt=\"2013-10-29_232422\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2013\/10\/2013-10-29_232422.png\" width=\"288\" height=\"197\" \/><\/a><\/p>\n<h2>short_open_tag = On<\/h2>\n<p>PHP \u30bf\u30b0\u306e\u77ed\u7e2e\u578b (&lt;? ?&gt;) \u3092\u4f7f\u7528 \u53ef\u80fd\u306b\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u8a2d\u5b9a<br \/>\nOff\u3068\u3057\u3066\u30bf\u30b0\u306e\u77ed\u7e2e\u578b\u3092\u5229\u7528\u3059\u308b\u3068\u3001\u753b\u9762\u304c\u30db\u30ef\u30a4\u30c8\u30a2\u30a6\u30c8\u3059\u308b\u3002\u30ed\u30b0\u3078\u306e\u51fa\u529b\u306f\u306a\u304b\u3063\u305f<\/p>\n<h2>asp_tags = Off<\/h2>\n<p>ASP \u5f62\u5f0f\u306e\u30bf\u30b0 &lt;% %&gt; \u3092\u901a\u5e38\u306e\u30bf\u30b0 <?php ?> \u306b\u52a0\u3048\u3066\u4f7f\u7528\u53ef\u80fd\u306b\u3059\u308b<\/p>\n<h2>precision = 14<\/h2>\n<p>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u306b\u95a2\u3057\u3066\u8868\u793a\u3055\u308c\u308b\u6700\u5927\u6841\u6570\u3092\u6307\u5b9a\u3059\u308b<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;?php\r\n var_dump(2\/3);\r\n?&gt;\r\n<\/pre>\n<p>precision=1\u3068\u3057\u305f\u5834\u5408\u3001float(0.7)<br \/>\nprecision=12\u3068\u3057\u305f\u5834\u5408\u3001float(0.666666666667)<\/p>\n<h2>output_buffering = 4096<\/h2>\n<p>\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6\u3092 &#8216;On&#8217; \u3068\u8a2d\u5b9a\u3059\u308b\u3068\u5168\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u95a2\u3057\u3066\u51fa\u529b\u30d0\u30c3\u30d5\u30a1\u30ea\u30f3\u30b0\u3092\u6709\u52b9\u306b\u3059\u308b<br \/>\n\u305f\u3060\u3057headers\u3068cookie\u306f\u542b\u307e\u308c\u306a\u3044<br \/>\nPHP\u3067\u306f\u5185\u90e8\u306b\u4e00\u65e6\u305f\u3081\u3066\u304b\u3089\u3001\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3078\u8fd4\u7b54\u3059\u308b<br \/>\n\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u51fa\u529b\u304c\u30d0\u30c3\u30d5\u30a1\u3092\u8d85\u3048\u3066\u3044\u308c\u3070\u3001\u5206\u5272\u3057\u3066\u9001\u4fe1\u3055\u308c\u308b<br \/>\n\u305d\u306e\u305f\u3081\u3001\u30d0\u30c3\u30d5\u30a1\u3092\u8d8a\u3048\u306a\u3044\u3088\u3046\u306a\u8a2d\u5b9a\u304c\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u3042\u3052\u308b(\u306e\u304b\uff1f)<br \/>\n\u672c\u6765\u306f HTML \u51fa\u529b\u3059\u308b\u524d\u306b setcookie()\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304c\u3001HTML\u3092\u51fa\u529b\u3057\u304d\u3063\u305f\u5f8c\u306esetcookie\u3057\u3066\u3082\u30a8\u30e9\u30fc\u3068\u306a\u3089\u306a\u3044\u306e\u306f\u3001\u3053\u306e\u30d0\u30c3\u30d5\u30a1\u306e\u304a\u304b\u3052\u3060\u3063\u305f\u308a\u3059\u308b<br \/>\n\u2605todo<\/p>\n<h2>zlib.output_compression = Off<\/h2>\n<p>\u900f\u904e\u7684\u306a\u30da\u30fc\u30b8\u5727\u7e2e\u3092\u884c\u3046\u304b\u3069\u3046\u304b<br \/>\n&#8220;On&#8221; \u306b\u8a2d\u5b9a\u3055\u308c\u305f\u5834\u5408\u3001 \u30d6\u30e9\u30a6\u30b6\u304c &#8220;Accept-Encoding: gzip&#8221; \u307e\u305f\u306f &#8220;deflate&#8221; \u30d8\u30c3\u30c0\u3092\u9001\u4fe1\u3059\u308b\u5834\u5408\u306b\u3001\u30da\u30fc\u30b8\u306f\u5727\u7e2e\u3055\u308c\u308b<br \/>\n&#8220;Content-Encoding: gzip&#8221; (\u304a\u3088\u3073 &#8220;deflate&#8221;) \u3068 &#8220;Vary: Accept-Encoding&#8221; \u30d8\u30c3\u30c0\u304c\u51fa\u529b\u306b\u8ffd\u52a0\u3055\u308c\u308b<\/p>\n<p>\u2605todo mod_deflate\u3068\u3069\u3063\u3061\u304c\u52b9\u679c\u304c\u3042\u308b\u306e\u304b\uff1f<\/p>\n<h2>implicit_flush = Off<\/h2>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306f FALSE \u3092 TRUE \u306b\u5909\u66f4\u3059\u308b\u3068\u3001PHP \u304c\u5404\u51fa\u529b\u30d6\u30ed\u30c3\u30af\u306e\u5f8c\u3067\u81ea\u52d5\u7684\u306b\u51fa\u529b\u30ec\u30a4\u30e4\u3092\u30d5\u30e9\u30c3\u30b7\u30e5\u3059\u308b<br \/>\n\u8457\u3057\u3044\u6027\u80fd\u4f4e\u4e0b\u304c\u751f\u3058\u308b\u305f\u3081\u3001\u901a\u5e38\u306f\u30c7\u30d0\u30c3\u30b0\u76ee\u7684\u306e\u307f\u306b\u3059\u308b\u306e\u304c\u3088\u3044<br \/>\nPHP \u30b9\u30af\u30ea\u30d7\u30c8\u5074\u3067\u9577\u6642\u9593\u306e\u51e6\u7406\u3092\u884c\u3046\u5834\u5408\u3001\u5b9a\u671f\u7684\u306b\u30b5\u30fc\u30d0\u5074\u304b\u3089\u30c7\u30fc\u30bf\u3092\u9001\u308b\u3053\u3068\u3067\u3001\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u306e\u63a5\u7d9a\u306e\u5207\u65ad\u3092\u9632\u3050\u3053\u3068\u304c\u3067\u304d\u308b\u3089\u3057\u3044<\/p>\n<p>\u2605todo \u3088\u304f\u308f\u304b\u3089\u3093<br \/>\nhttp:\/\/q.hatena.ne.jp\/1295482319<\/p>\n<h2>unserialize_callback_func =<\/h2>\n<p>unserialize() \u304c\u672a\u5b9a\u7fa9\u306e\u30af\u30e9\u30b9\u3092\u4f7f\u304a\u3046\u3068\u3057\u305f\u3068\u304d\u306b\u3001\u3053\u3053\u3067\u6307\u5b9a\u3057\u305f\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u3092\u30b3\u30fc\u30eb\u3059\u308b<br \/>\n\u30e6\u30fc\u30b6\u30fc\u304b\u3089\u306e\u5165\u529b\u3092\u305d\u306e\u307e\u307e unserialize() \u306b\u6e21\u3057\u305f\u5834\u5408\u3001\u30a2\u30f3\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u306e\u6642\u306b\u306f\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u751f\u6210\u3084\u30aa\u30fc\u30c8\u30ed\u30fc\u30a3\u30f3\u30b0\u306a\u3069\u3067 \u30b3\u30fc\u30c9\u304c\u5b9f\u884c\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u3001\u60aa\u7528\u3067\u304d\u308b\u305f\u3081<\/p>\n<p>\u2605todo http:\/\/php.plus-server.net\/function.unserialize.html<\/p>\n<h2>serialize_precision = 17<\/h2>\n<p>\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u3092\u30b7\u30ea\u30a2\u30e9\u30a4\u30ba\u3059\u308b\u3068\u304d\u306b\u683c\u7d0d\u3059\u308b\u6841\u6570\u3092\u6307\u5b9a\u3059\u308b<\/p>\n<pre class=\"brush: php; title: l.php; notranslate\" title=\"l.php\">\r\n&lt;?php\r\n$data=array\r\n(\r\n'key1' =&gt; 1.444,\r\n'key2' =&gt; 'value2',\r\n);\r\nvar_dump($data);\r\n\r\n$serial=serialize($data);\r\nvar_dump($serial);\r\n\r\n$serial=unserialize($serial);\r\nvar_dump($serial);\r\n\r\n?&gt;\r\n<\/pre>\n<p>serialize_precision=2\u3068\u3057\u305f\u3068\u304d\u3001\u4ee5\u4e0b\u304c\u5b9f\u884c\u7d50\u679c<br \/>\narray(2) {<br \/>\n[&#8220;key1&#8221;]=&gt;<br \/>\nfloat(1.444)<br \/>\n[&#8220;key2&#8221;]=&gt;<br \/>\nstring(6) &#8220;value2&#8221;<br \/>\n}<br \/>\nstring(47) &#8220;a:2:{s:4:&#8221;key1&#8243;;d:1.4;s:4:&#8221;key2&#8243;;s:6:&#8221;value2&#8243;;}&#8221;<br \/>\narray(2) {<br \/>\n[&#8220;key1&#8221;]=&gt;<br \/>\nfloat(1.4)<br \/>\n[&#8220;key2&#8221;]=&gt;<br \/>\nstring(6) &#8220;value2&#8221;<br \/>\n}<\/p>\n<p>\u53c2\u8003\uff1ahttp:\/\/tech.akat.info\/?p=70<\/p>\n<h2>disable_functions =<br \/>\npcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,<\/h2>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u5185\u3067\u4f7f\u7528\u3092\u7981\u6b62\u3059\u308b\u95a2\u6570\u306e\u8a2d\u5b9a<br \/>\n\u30d7\u30ed\u30bb\u30b9\u306b\u5bfe\u3057\u3066\u3001 \u6307\u5b9a\u3057\u305f\u79d2\u6570\u5f8c\u306b SIGALRM \u30b7\u30b0\u30ca\u30eb\u3092\u9001\u4fe1\u3059\u308b\u30bf\u30a4\u30de\u3067\u3042\u308bpcntl_alarm\u306a\u3069\u5371\u967a\u6027\u304c\u9ad8\u3044\u95a2\u6570\u3092\u7121\u52b9\u306b\u3067\u304d\u308b<br \/>\n\u6307\u5b9a\u3067\u304d\u308b\u306e\u306f\u3001\u5185\u90e8\u95a2\u6570\u3060\u3051\u3067\u3001\u30e6\u30fc\u30b6\u5b9a\u7fa9\u95a2\u6570\u306f\u6307\u5b9a\u3067\u304d\u306a\u3044\u3002\u307e\u305f\u3001\u30bb\u30fc\u30d5\u30e2\u30fc\u30c9\u306e\u5f71\u97ff\u3092\u53d7\u3051\u306a\u3044<\/p>\n<pre class=\"brush: php; title: o.php; notranslate\" title=\"o.php\">\r\n&lt;?php\r\n echo(pcntl_get_last_error()); \r\n?&gt;\r\n<\/pre>\n<p>\u5b9f\u884c\u3059\u308b\u3068<br \/>\n[Mon Nov 04 00:04:24 2013] [warn] [client x.x.x.x] mod_fcgid: stderr: PHP Warning: pcntl_get_last_error() has been disabled for security reasons in \/var\/www\/htdocs\/o.php on line 2<\/p>\n<h2>disable_classes =<\/h2>\n<p>\u7279\u5b9a\u306e\u30af\u30e9\u30b9\u3092\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u89b3\u70b9\u304b\u3089\u7121\u52b9\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b<\/p>\n<pre class=\"brush: php; title: u.php; notranslate\" title=\"u.php\">\r\n&lt;?php\r\n\/\/ \u73fe\u5728\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u5ba3\u8a00\u3055\u308c\u305f\u30af\u30e9\u30b9\u306e\u540d\u524d\u306e\u914d\u5217\u3092\u8fd4\u3059\r\nprint_r(get_declared_classes());\r\n$objDateTime = new DateTime('NOW');\r\nvar_dump($objDateTime);\r\n?&gt;\r\n<\/pre>\n<p>disable_classes = datetime\u3068\u3059\u308b\u3068\u30a8\u30e9\u30fc\u3068\u306a\u308b<br \/>\n\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u4ee5\u4e0b<br \/>\n[Sun Nov 03 01:23:45 2013] [warn] [client x.x.x.x] mod_fcgid: stderr: PHP Warning: datetime() has been disabled for security reasons in \/var\/www\/htdocs\/u.php on line 11<br \/>\n[Sun Nov 03 01:23:45 2013] [warn] [client x.x.x.x] mod_fcgid: stderr: PHP Stack trace:<br \/>\n[Sun Nov 03 01:23:45 2013] [warn] [client x.x.x.x] mod_fcgid: stderr: PHP 1. {main}() \/var\/www\/htdocs\/u.php:0<\/p>\n<h2>zend.enable_gc = On<\/h2>\n<p>\u5faa\u74b0\u53c2\u7167\u30b3\u30ec\u30af\u30bf\u3092\u6709\u52b9\u306b\u3059\u308b\u304b\u5426\u304b<\/p>\n<pre class=\"brush: php; title: g.php; notranslate\" title=\"g.php\">\r\n&lt;?php\r\nclass Foo\r\n{\r\n    public $var = '3.1415962654';\r\n}\r\n\r\n$baseMemory = memory_get_usage();\r\n# memory_get_usage : \u73fe\u5728\u306e PHP \u30b9\u30af\u30ea\u30d7\u30c8\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u305f\u30e1\u30e2\u30ea\u306e\u91cf\u3092\u30d0\u30a4\u30c8\u5358\u4f4d\u3067\u8fd4\u3057\u307e\u3059\r\nfor ( $i = 0; $i &lt;= 100000000; $i++ )\r\n{\r\n    $a = new Foo;\r\n    $a-&gt;self = $a;\r\n    if ( $i % 500 === 0 )\r\n    {\r\n        echo sprintf( '%8d: ', $i ), memory_get_usage() - $baseMemory, &quot;\\n&quot;;\r\n    }\r\n}\r\n?&gt;\r\n<\/pre>\n<p><a href=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2013\/10\/12f37b1c6963c1c5c18f30495416a197-gc-benchmark.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-63\" alt=\"12f37b1c6963c1c5c18f30495416a197-gc-benchmark\" src=\"http:\/\/tech.akat.info\/wp-content\/uploads\/2013\/10\/12f37b1c6963c1c5c18f30495416a197-gc-benchmark-300x169.png\" width=\"300\" height=\"169\" srcset=\"https:\/\/tech.akat.info\/wp-content\/uploads\/2013\/10\/12f37b1c6963c1c5c18f30495416a197-gc-benchmark-300x169.png 300w, https:\/\/tech.akat.info\/wp-content\/uploads\/2013\/10\/12f37b1c6963c1c5c18f30495416a197-gc-benchmark-624x352.png 624w, https:\/\/tech.akat.info\/wp-content\/uploads\/2013\/10\/12f37b1c6963c1c5c18f30495416a197-gc-benchmark.png 850w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nhttp:\/\/php.net\/manual\/ja\/features.gc.performance-considerations.php<br \/>\nzend.enable_gc = Off<br \/>\n\u3068\u3057\u305f\u3068\u304d\u3001\u30e1\u30e2\u30ea\u304c\u89e3\u653e\u3055\u308c\u305a\u3001\u6700\u7d42\u7684\u306b\u30a8\u30e9\u30fc\u3068\u306a\u3063\u305f<br \/>\n[Thu Oct 31 21:49:26 2013] [warn] [client x.x.x.x] mod_fcgid: stderr: PHP<br \/>\nFatal error: Allowed memory size of 134217728 bytes exhausted (tried to alloca<br \/>\nte 72 bytes) in \/var\/www\/htdocs\/g.php on line 13<\/p>\n<h2>expose_php = On<\/h2>\n<p>PHP \u304c\u30b5\u30fc\u30d0\u30fc\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u5168\u4e16\u754c\u306b\u6652\u3057\u3001PHP \u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3082 HTTP \u30d8\u30c3\u30c0\u306b\u542b\u3081\u307e\u3059<br \/>\nOn\u3068\u3057\u305f\u5834\u5408\u3001X-Powered-By\u3068\u3044\u3046\u30d8\u30c3\u30c0\u306bPHP\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u308b<\/p>\n<p>telnet x.x.x.x 80<br \/>\nTrying x.x.x.x&#8230;<br \/>\nConnected to x.x.x.x.<br \/>\nEscape character is &#8216;^]&#8217;.<br \/>\nGET \/k.php HTTP\/1.1<br \/>\nUser-Agent: Telnet [ja] (Linux)<br \/>\nHost: www.akat.info<\/p>\n<p>HTTP\/1.1 200 OK<br \/>\nDate: Tue, 29 Oct 2013 14:52:11 GMT<br \/>\nServer: Apache<br \/>\nX-Powered-By: PHP\/5.4.4-14+deb7u5<br \/>\nVary: Accept-Encoding<br \/>\nTransfer-Encoding: chunked<br \/>\nContent-Type: text\/html<\/p>\n<p>4<br \/>\ntest<br \/>\n0<\/p>\n<p>Connection closed by foreign host.<\/p>\n<p>curl -I http:\/\/x.x.x.x\u3000\u3067\u3082\u78ba\u8a8d\u53ef\u80fd<\/p>\n<h2>max_execution_time = 30<\/h2>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u30d1\u30fc\u30b5\u306b\u3088\u308a\u5f37\u5236\u7d42\u4e86\u3055\u308c\u308b\u307e\u3067\u306b\u8a31\u5bb9\u3055\u308c\u308b\u6700\u5927\u306e\u6642\u9593\u3092\u79d2\u5358\u4f4d\u3067\u6307\u5b9a\u3059\u308b<br \/>\n\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u30b5\u30fc\u30d0\u30fc\u306e\u8ca0\u8377\u3092\u4e0a\u3052\u308b\u3053\u3068\u3092\u9632\u6b62\u3059\u308b\u306e\u306b\u5f79\u7acb\u3064<\/p>\n<pre class=\"brush: php; title: x.php; notranslate\" title=\"x.php\">\r\n&lt;?php\r\n sleep(70); \/\/ 70\u79d2\u9593\u5f85\u3061 \r\n echo date(&quot;Y\/m\/d H:i:s&quot;).&quot; -&gt; end\\n&quot;;\r\n?&gt;\r\n<\/pre>\n<p>max_execution_time \u304c30\u79d2\u306e\u3068\u304d\u3001\u4e0a\u8a18\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u65bd\u3059\u308b\u3068\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u306f500\u30a8\u30e9\u30fc\u3092\u8fd4\u5374\u3057\u3001\u5185\u90e8\u3067\u306f\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc(mod_fcgid\u3092\u5229\u7528)<br \/>\n[Thu Oct 31 21:18:43 2013] [warn] [client x.x.x.x] mod_fcgid: read data timeout in 40 seconds<br \/>\n[Thu Oct 31 21:18:43 2013] [error] [client x.x.x.x] Premature end of script headers: x.php<\/p>\n<h2>max_input_time = 60<\/h2>\n<p>PHP\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c\u524d\u306b\u3001GET\u3001POST\u3001\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30c7\u30fc\u30bf\u3092\u89e3\u6790\u3059\u308b\u304c\u3001\u305d\u306e\u89e3\u6790\u6642\u9593\u306e\u6700\u5927\u79d2\u6570\u3092\u6c7a\u5b9a\u3059\u308b<br \/>\n\u30b5\u30fc\u30d0\u30fc\u304c\u3059\u3079\u3066\u306e\u30c7\u30fc\u30bf\u3092\u53d7\u3051\u53d6\u3063\u3066\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u3092\u958b\u59cb\u3059\u308b\u307e\u3067\u306e\u6642\u9593<\/p>\n<h2>memory_limit = 128M<\/h2>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u78ba\u4fdd\u3067\u304d\u308b\u6700\u5927\u30e1\u30e2\u30ea\u3092\u30d0\u30a4\u30c8\u6570\u3067\u6307\u5b9a\u3059\u308b<\/p>\n<p>mod_fcgid\u3060\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u3068\u308b<br \/>\n[Thu Oct 31 21:49:26 2013] [warn] [client x.x.x.x] mod_fcgid: stderr: PHP<br \/>\nFatal error: Allowed memory size of 134217728 bytes exhausted (tried to alloca<br \/>\nte 72 bytes) in \/var\/www\/htdocs\/g.php on line 13<\/p>\n<h2>error_reporting = E_ALL &amp; ~E_DEPRECATED &amp; ~E_STRICT<\/h2>\n<p>\u30a8\u30e9\u30fc\u51fa\u529b\u30ec\u30d9\u30eb\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u30d1\u30e9\u30e1\u30fc\u30bf\u306f\u3001\u3042\u308b\u30d3\u30c3\u30c8\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8868\u3059\u6574\u6570\u304b\u5b9a\u6570\u540d\u3067\u6307\u5b9a\u3059\u308b<br \/>\nE_ALL:\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u308b\u5168\u3066\u306e\u30a8\u30e9\u30fc\u3068\u8b66\u544a\u3002PHP5.4.0\u304b\u3089E_STRICT\u30ec\u30d9\u30eb\u306e\u30a8\u30e9\u30fc\u3082\u542b\u307e\u308c\u308b\u3002<br \/>\nE_DEPRECATED:\u5b9f\u884c\u6642\u306e\u6ce8\u610f\u3002\u3053\u308c\u3092\u6709\u52b9\u306b\u3059\u308b\u3068\u3001\u5c06\u6765\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u52d5\u4f5c\u3057\u306a\u304f\u306a\u308b\u30b3\u30fc\u30c9\u306b\u3064\u3044\u3066\u306e\u8b66\u544a\u3092\u53d7\u3051\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002(PHP 5.3.0\u3088\u308a)<br \/>\nE_STRICT:\u30b3\u30fc\u30c9\u306e\u76f8\u4e92\u904b\u7528\u6027\u3084\u4e92\u63db\u6027\u3092\u7dad\u6301\u3059\u308b\u305f\u3081\u306b PHP \u304c\u30b3\u30fc\u30c9\u306e\u5909\u66f4\u3092\u63d0\u6848\u3059\u308b\u3002(PHP 5\u3088\u308a)<\/p>\n<h2>display_errors = Off<\/h2>\n<p>\u30a8\u30e9\u30fc\u3092HTML\u51fa\u529b\u306e\u4e00\u90e8\u3068\u3057\u3066\u753b\u9762\u306b\u51fa\u529b\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u5b9a\u7fa9\u3059\u308b<\/p>\n<h2>display_startup_errors = Off<\/h2>\n<p>PHP\u306e\u8d77\u52d5\u30b7\u30fc\u30b1\u30f3\u30b9\u306b\u304a\u3044\u3066\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc\u3092\u8868\u793a\u3059\u308b<br \/>\ndisplay_errors\u306fPHP\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c\u4e2d\u306e\u30a8\u30e9\u30fc\u8868\u793a\u306e\u53ef\u5426\u3092\u6c7a\u3081\u307e\u3059\u304c\u3001display_startup_errors\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c\u524d\u306e\u3001\u521d\u671f\u5316\u6642\u306b\u767a\u751f\u3059\u308b\u30a8\u30e9\u30fc\u306b\u95a2\u4fc2\u3059\u308b\u30c7\u30a3\u30ec\u30af\u30c6\u30a3\u30d6<\/p>\n<pre class=\"brush: php; title: p.php; notranslate\" title=\"p.php\">\r\n&lt;?php print_r($_POST); ?&gt;\r\n<\/pre>\n<p>display_startup_errors = On \u304b\u3064 post_max_size\u309210 \u3068\u3059\u308b\u3068\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u308b<br \/>\n\u3053\u308c\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c\u524d\u306e\u30dd\u30b9\u30c8\u30c7\u30fc\u30bf\u3092\u51e6\u7406\u6642\u306e\u30a8\u30e9\u30fc(\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u51e6\u7406)\u3068\u306a\u308b\u305f\u3081\u3001display_startup_errors\u304cOn\u3067\u306a\u3044\u3068\u8868\u793a\u3055\u308c\u306a\u3044<br \/>\ncurl -X POST &#8211;data &#8216;key1=value1&#8217; http:\/\/49.212.204.46\/p.php<\/p>\n<p><b>Warning<\/b>: Unknown: POST Content-Length of 11 bytes exceeds the limit of 10 bytes in <b>Unknown<\/b> on line <b>0<\/b><\/p>\n<p><b>Warning<\/b>: Cannot modify header information &#8211; headers already sent in <b>Unknown<\/b> on line <b>0<\/b><\/p>\n<p>Array<br \/>\n(<br \/>\n)<\/p>\n<h2>log_errors = On<\/h2>\n<p>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u30a8\u30e9\u30fc\u30ed\u30b0\u307e\u305f\u306ferror_log\u306b\u8a18\u9332\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u6307\u5b9a\u3059\u308b<br \/>\n\u30a8\u30e9\u30fc\u5185\u5bb9\u306f\u30b5\u30fc\u30d0\u306b\u4f9d\u5b58\u3059\u308b\u304c\u3001On\u306b\u3059\u308b<\/p>\n<h2>log_errors_max_len = 1024<\/h2>\n<p>log_errors\u306e\u6700\u5927\u9577\u3092\u30d0\u30a4\u30c8\u5358\u4f4d\u3067\u8a2d\u5b9a\u3059\u308b<\/p>\n<pre class=\"brush: php; title: r.php; notranslate\" title=\"r.php\">\r\n&lt;?p\r\nhp\r\n\r\n?&gt;\r\n<\/pre>\n<p>log_errors_max_len = 2 \u3068\u3057\u305f\u5834\u5408<br \/>\nParse error: sy in \/var\/www\/htdocs\/r.php on line 2<\/p>\n<h2>ignore_repeated_errors = Off<\/h2>\n<p>\u7e70\u308a\u8fd4\u3055\u308c\u308b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8a18\u9332\u3059\u308b\u304b\u3069\u3046\u304b<\/p>\n<h2>ignore_repeated_source = Off<\/h2>\n<p>\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u7e70\u308a\u8fd4\u3057\u3092\u7121\u8996\u3059\u308b\u5834\u5408\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u30bd\u30fc\u30b9\u3092\u7121\u8996\u3059\u308b<\/p>\n<h2>report_memleaks = On<\/h2>\n<p>\u3053\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092 On (\u30c7\u30d5\u30a9\u30eb\u30c8)\u306b\u3059\u308b\u3068\u3001Zend\u30e1\u30e2\u30ea\u30de\u30cd\u30fc\u30b8\u30e3\u30fc\u304c\u691c\u51fa\u3057\u305f\u30e1\u30e2\u30ea\u30ea\u30fc\u30af\u306e\u5831\u544a\u3092\u8868\u793a\u3059\u308b<br \/>\nerror_reporting\u3067 E_WARNING\u3092\u6709\u52b9\u306b\u3057\u3066\u3044\u308b\u5834\u5408\u306e\u307f\u6709\u52b9\u3068\u306a\u308b<\/p>\n<h2>track_errors = Off<\/h2>\n<p>\u6709\u52b9\u306b\u3057\u305f\u5834\u5408\u3001\u76f4\u8fd1\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3001$php_errormsg \u5909\u6570\u306b\u5e38\u306b\u4ee3\u5165\u3055\u308c\u308b<\/p>\n<pre class=\"brush: php; title: d.php; notranslate\" title=\"d.php\">\r\n&lt;?php\r\n@strpos();\r\necho $php_errormsg;\r\n?&gt;\r\n<\/pre>\n<p>track_errors = On \u3067\u5b9f\u884c\u3057\u305f\u5834\u5408<br \/>\nstrpos() expects at least 2 parameters, 0 given<\/p>\n<p>track_errors = Off \u3067\u5b9f\u884c\u3057\u305f\u5834\u5408<br \/>\nNotice: Undefined variable: php_errormsg in \/var\/www\/htdocs\/d.php on line 3<\/p>\n<h2>html_errors = On<\/h2>\n<p>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306eHTML\u30bf\u30b0\u3092\u30aa\u30d5\u306b\u3059\u308b<br \/>\n\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u4e0a\u304a\u3088\u3073\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u4e0a\u306e\u7406\u7531\u304b\u3089\u3001\u672c\u756a\u30b5\u30fc\u30d0\u30fc\u4e0a\u3067\u306f\u3053\u306e\u8a2d\u5b9a\u3092\u7121\u52b9\u306b\u3059\u308b\u4e8b\u304c\u63a8\u5968\u3055\u308c\u3066\u3044\u308b<\/p>\n<p>html_errors = On \u306e\u5834\u5408<br \/>\n<b>Parse error<\/b>: syntax error, unexpected &#8216;hp&#8217; (T_STRING) in <b>\/var\/www\/htdocs\/r.php<\/b> on line <b>2<\/b><\/p>\n<p>html_errors = Off \u306e\u5834\u5408<br \/>\nParse error: syntax error, unexpected &#8216;hp&#8217; (T_STRING) in \/var\/www\/htdocs\/r.php on line 2<\/p>\n<h2>variables_order = &#8220;GPCS&#8221;<\/h2>\n<p>EGPCS (Environment (\u74b0\u5883\u5909\u6570)\u3001 Get\u3001Post\u3001 Cookie (\u30af\u30c3\u30ad\u30fc)\u3001\u305d\u3057\u3066 Server) \u5909\u6570\u306e\u30d1\u30fc\u30b9\u306e\u9806\u756a\u3092\u8a2d\u5b9a\u3057\u307e\u3059<br \/>\n\u4f8b\u3048\u3070 variables_order\u3092&#8221;SP&#8221; \u306b\u8a2d\u5b9a\u3059\u308b\u3068\u3001PHP\u306f superglobals $_SERVER \u304a\u3088\u3073 $_POST\u3092\u4f5c\u6210\u3057\u307e\u3059\u304c\u3001$_ENV\u3001$_GET \u304a\u3088\u3073 $_COOKIE \u306f\u4f5c\u6210\u3057\u306a\u3044<\/p>\n<pre class=\"brush: php; title: h.php; notranslate\" title=\"h.php\">\r\n&lt;?php\r\n var_dump($_ENV); \r\n var_dump($_GET); \r\n var_dump($_POST); \r\n var_dump($_COOKIE);\r\n var_dump($_SERVER); \r\n?&gt;\r\n<\/pre>\n<p>variables_order = &#8220;EGPCS&#8221; \u306e\u3068\u304d<br \/>\ncurl -X POST &#8211;data &#8216;key1=value1&#8217; http:\/\/x.x.x.x\/h.php<br \/>\narray(34) {<br \/>\n[&#8220;PATH&#8221;]=&gt;<br \/>\nstring(28) &#8220;\/usr\/local\/bin:\/usr\/bin:\/bin&#8221;<br \/>\n[&#8220;PHP_FCGI_CHILDREN&#8221;]=&gt;<br \/>\n\u2026\u2026<br \/>\n}<br \/>\narray(0) {<br \/>\n}<br \/>\narray(1) {<br \/>\n[&#8220;key1&#8221;]=&gt;<br \/>\nstring(6) &#8220;value1&#8221;<br \/>\n}<br \/>\narray(0) {<br \/>\n}<br \/>\narray(34) {<br \/>\n[&#8220;PATH&#8221;]=&gt;<br \/>\nstring(28) &#8220;\/usr\/local\/bin:\/usr\/bin:\/bin&#8221;<br \/>\n[&#8220;PHP_FCGI_CHILDREN&#8221;]=&gt;<br \/>\n\u2026\u2026<br \/>\n}<\/p>\n<p>variables_order = &#8220;GCS&#8221; \u306e\u3068\u304d<br \/>\ncurl -X POST &#8211;data &#8216;key1=value1&#8217; http:\/\/x.x.x.x\/h.php<br \/>\narray(0) {<br \/>\n}<br \/>\narray(0) {<br \/>\n}<br \/>\narray(0) {<br \/>\n}<br \/>\narray(0) {<br \/>\n}<br \/>\narray(34) {<br \/>\n[&#8220;PATH&#8221;]=&gt;<br \/>\nstring(28) &#8220;\/usr\/local\/bin:\/usr\/bin:\/bin&#8221;<br \/>\n[&#8220;PHP_FCGI_CHILDREN&#8221;]=&gt;<br \/>\n\u2026\u2026<br \/>\n}<\/p>\n<p>curl -G &#8211;data &#8216;key1=value1&#8217; http:\/\/x.x.x.x\/h.php<br \/>\narray(0) {<br \/>\n}<br \/>\narray(1) {<br \/>\n[&#8220;key1&#8221;]=&gt;<br \/>\nstring(6) &#8220;value1&#8221;<br \/>\n}<br \/>\narray(0) {<br \/>\n}<br \/>\narray(0) {<br \/>\n}<br \/>\narray(34) {<br \/>\n[&#8220;PATH&#8221;]=&gt;<br \/>\nstring(28) &#8220;\/usr\/local\/bin:\/usr\/bin:\/bin&#8221;<br \/>\n[&#8220;PHP_FCGI_CHILDREN&#8221;]=&gt;<br \/>\n\u2026\u2026<br \/>\n}<\/p>\n<h2>request_order = &#8220;GP&#8221;<\/h2>\n<p>PHP \u304c GET \u5909\u6570\u3084 POST \u5909\u6570\u305d\u3057\u3066\u30af\u30c3\u30ad\u30fc\u5909\u6570\u3092 _REQUEST \u914d\u5217\u306b\u767b\u9332\u3059\u308b\u969b\u306e\u9806\u5e8f\u3092\u8868\u3059<br \/>\n$_REQUEST\u306f\u3001\u73fe\u5728\u306e $_GET\u3001$_POST\u3001$_COOKIE \u306a\u3069\u306e\u5185\u5bb9\u3092\u307e\u3068\u3081\u305f\u30b9\u30fc\u30d1\u30fc\u30b0\u30ed\u30fc\u30d0\u30eb\u5909\u6570\u306e\u3072\u3068\u3064\u3067\u9023\u60f3\u914d\u5217\u3067\u30c7\u30fc\u30bf\u3092\u4fdd\u6301\u3059\u308b(\u305f\u3060\u3057\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3067\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u305f\u3081\u30af\u30c3\u30ad\u30fc\u5909\u6570\u306f\u542b\u307e\u308c\u3066\u3044\u306a\u3044)<\/p>\n<pre class=\"brush: php; title: q.php; notranslate\" title=\"q.php\">\r\n&lt;?php\r\n var_dump($_GET); \r\n var_dump($_POST); \r\n var_dump($_REQUEST); \r\n?&gt;\r\n<\/pre>\n<p>curl &#8211;data &#8216;key_p=post&#8217; http:\/\/x.x.x.x\/q.php?key_g=get<br \/>\narray(1) {<br \/>\n[&#8220;key_g&#8221;]=&gt;<br \/>\nstring(3) &#8220;get&#8221;<br \/>\n}<br \/>\narray(1) {<br \/>\n[&#8220;key_p&#8221;]=&gt;<br \/>\nstring(4) &#8220;post&#8221;<br \/>\n}<br \/>\narray(2) {<br \/>\n[&#8220;key_g&#8221;]=&gt;<br \/>\nstring(3) &#8220;get&#8221;<br \/>\n[&#8220;key_p&#8221;]=&gt;<br \/>\nstring(4) &#8220;post&#8221;<br \/>\n}<\/p>\n<p>request_order = &#8220;GP&#8221; \u306e\u5834\u5408<br \/>\ncurl &#8211;data &#8216;key=post&#8217; http:\/\/x.x.x.x\/q.php?key=get<br \/>\narray(1) {<br \/>\n[&#8220;key&#8221;]=&gt;<br \/>\nstring(3) &#8220;get&#8221;<br \/>\n}<br \/>\narray(1) {<br \/>\n[&#8220;key&#8221;]=&gt;<br \/>\nstring(4) &#8220;post&#8221;<br \/>\n}<br \/>\narray(1) {<br \/>\n[&#8220;key&#8221;]=&gt;<br \/>\nstring(4) &#8220;post&#8221;<br \/>\n}<\/p>\n<p>request_order = &#8220;PG&#8221; \u306e\u5834\u5408<br \/>\ncurl &#8211;data &#8216;key=post&#8217; http:\/\/x.x.x.x\/q.php?key=get<br \/>\narray(1) {<br \/>\n[&#8220;key&#8221;]=&gt;<br \/>\nstring(3) &#8220;get&#8221;<br \/>\n}<br \/>\narray(1) {<br \/>\n[&#8220;key&#8221;]=&gt;<br \/>\nstring(4) &#8220;post&#8221;<br \/>\n}<br \/>\narray(1) {<br \/>\n[&#8220;key&#8221;]=&gt;<br \/>\nstring(3) &#8220;get&#8221;<br \/>\n}<\/p>\n<h2>register_argc_argv = Off<\/h2>\n<p>PHP\u304c\u5909\u6570argv\u3068argc\u3092\u5ba3\u8a00\u3059\u308b\u304b\u3069\u3046\u304b\u3092\u6307\u5b9a\u3059\u308b(\u3053\u308c\u3089\u306b\u306fGET\u306e\u60c5\u5831\u304c\u683c\u7d0d\u3055\u308c\u308b)<br \/>\nargc\uff1a\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u6e21\u3057\u305f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u5f15\u6570\u306e\u6570<br \/>\nargv\uff1a\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u6e21\u3057\u305f\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u5f15\u6570\u306e\u914d\u5217<\/p>\n<pre class=\"brush: php; title: a.php; notranslate\" title=\"a.php\">\r\n&lt;?php\r\n var_dump($_SERVER&#x5B;&quot;argv&quot;]); \r\n?&gt;\r\n<\/pre>\n<p>register_argc_argv = Off \u306e\u3068\u304d\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc<br \/>\nNotice: Undefined index: argv in \/var\/www\/htdocs\/a.php on line 2 NULL<\/p>\n<h2>auto_globals_jit = On<\/h2>\n<p>\u6709\u52b9\u306b\u3057\u305f\u5834\u5408\u3001SERVER \u304a\u3088\u3073 ENV \u5909\u6570\u306f\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u958b\u59cb\u6642\u3067\u306f\u306a\u304f\u3001\u6700\u521d\u306b\u4f7f\u7528\u3055\u308c\u305f\u6642(Just In Time) \u306b\u4f5c\u6210\u3055\u308c\u308b<br \/>\n\u3053\u308c\u3089\u306e\u5909\u6570\u304c\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u4e2d\u3067\u4f7f\u7528\u3055\u308c\u306a\u3044\u5834\u5408\u3001 \u6027\u80fd\u304c\u5411\u4e0a\u3059\u308b<\/p>\n<h2>post_max_size = 8M<\/h2>\n<p>POST\u30c7\u30fc\u30bf\u306b\u8a31\u53ef\u3055\u308c\u308b\u6700\u5927\u30b5\u30a4\u30ba\u3092\u8a2d\u5b9a<br \/>\nPHP\u3067\u306fPOST\u30e1\u30bd\u30c3\u30c9\u304a\u3088\u3073GET\u30e1\u30bd\u30c3\u30c9\u3067\u30ea\u30af\u30a8\u30b9\u30c8\u30c7\u30fc\u30bf\u3092\u53d7\u4fe1\u3059\u308b\u3068\u3001\u81ea\u52d5\u7684\u306b\u305d\u306e\u30c7\u30fc\u30bf\u3092\u914d\u5217\u5909\u6570\u306b\u683c\u7d0d\u3059\u308b(\u3064\u307e\u308a\u3001\u30e1\u30e2\u30ea\u7a7a\u9593\u3092\u5229\u7528\u3059\u308b)<\/p>\n<pre class=\"brush: php; title: p.php; notranslate\" title=\"p.php\">\r\n&lt;?php\r\n print_r($_POST); \r\n?&gt;\r\n<\/pre>\n<p>curl -X POST &#8211;data &#8216;key1=value1&#8217; http:\/\/x.x.x.x\/p.php<br \/>\nArray<br \/>\n(<br \/>\n[key1] =&gt; value1<br \/>\n)<br \/>\n\u3053\u3053\u3067post_max_size\u309210\u3068\u3059\u308b\u3068\u3001PHP\u3067\u306fpost_max_size\u306e\u8a2d\u5b9a\u3067\u5236\u9650\u3057\u305f\u5024\u3092\u8d85\u3048\u305f\u30c7\u30fc\u30bf\u3092\u9001\u4fe1\u3059\u308b\u3068\u3001\u30ea\u30af\u30a8\u30b9\u30c8\u30c7\u30fc\u30bf\u3059\u3079\u3066\u304c\u7121\u8996\u3055\u308c\u308b\u305f\u3081\u7a7a\u767d\u3068\u306a\u308b<br \/>\ncurl -X POST &#8211;data &#8216;key1=value1&#8217; http:\/\/x.x.x.x\/p.php<br \/>\nArray<br \/>\n(<br \/>\n)<\/p>\n<p>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u306f<br \/>\n[Thu Oct 31 23:39:27 2013] [warn] [client x.x.x.x] mod_fcgid: stderr: PHP Warning: Unknown: POST Content-Length of 11 bytes exceeds the limit of 10 bytes in Unknown on line 0<\/p>\n<h2>auto_prepend_file =<\/h2>\n<p>\u30e1\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u524d\u306b\u81ea\u52d5\u7684\u306b\u4ed8\u52a0\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u3092\u6307\u5b9a\u3059\u308b<br \/>\n\u3064\u307e\u308a\u3001\u81ea\u52d5\u3067require\u95a2\u6570\u304c\u5b9f\u884c\u3055\u308c\u308b<br \/>\n\u7279\u5225\u306a\u5024 none \u3092\u6307 \u5b9a\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u524d\u306b\u8ffd\u52a0\u3059\u308b\u6a5f\u80fd\u306f\u7121\u52b9\u3068\u306a\u308b<\/p>\n<pre class=\"brush: php; title: c.php; notranslate\" title=\"c.php\">\r\n&lt;?php\r\n echo &quot;start&quot;; \r\n?&gt;\r\n<\/pre>\n<p>auto_prepend_file = \/var\/www\/htdocs\/c.php<br \/>\n\u3068\u6307\u5b9a\u3059\u308b\u3068\u3001\u4ed6\u306ePHP\u30d5\u30a1\u30a4\u30eb\u5b9f\u884c\u6642\u306b&#8217;start&#8217;\u306e\u8a18\u8ff0\u304c\u8ffd\u52a0\u3055\u308c\u305f<\/p>\n<h2>auto_append_file =<\/h2>\n<p>\u30e1\u30a4\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u5f8c\u306b\u81ea\u52d5\u7684\u306b\u8ffd\u52a0\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u3092\u6307\u5b9a\u3059\u308b<br \/>\n\u30b9\u30af\u30ea\u30d7\u30c8\u304cexit()\u3067\u7d42\u4e86\u3059\u308b\u5834\u5408\u3001 \u3053\u306e\u81ea\u52d5\u4ed8\u52a0\u6a5f\u80fd\u306f\u5229\u7528\u3067\u304d\u306a\u3044<\/p>\n<h2>default_mimetype = &#8220;text\/html&#8221;<\/h2>\n<p>PHP \u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u5e38\u306bContent-type:\u30d8\u30c3\u30c0\u3067character encoding\u3092\u51fa\u529b\u3059\u308b<br \/>\n\u30c7\u30d5\u30a9\u30eb\u30c8\u306emimetype\u3092\u6c7a\u5b9a\u3059\u308b<br \/>\n\u307b\u3068\u3093\u3069\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306ftext\/html\u304c\u30c7\u30d5\u30a9\u30eb\u30c8\u8a2d\u5b9a\u3067\u3042\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u305d\u306e\u307e\u307e\u306e\u307b\u3046\u304c\u3088\u3044<\/p>\n<p>curl -I http:\/\/x.x.x.x\/r.php<br \/>\nHTTP\/1.1 200 OK<br \/>\nDate: Sat, 02 Nov 2013 17:31:37 GMT<br \/>\nServer: Apache<br \/>\nContent-Type: text\/html<\/p>\n<h2>doc_root =<\/h2>\n<p>\u30b5\u30fc\u30d0\u30fc\u306b\u304a\u3051\u308bPHP\u306e&#8221;\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea&#8221;\u3067\u3059\u3002\u3053\u306e\u5024\u306f\u7a7a\u3067\u7121\u3044\u5834\u5408\u306e\u307f\u4f7f\u7528\u3055\u308c\u308b<br \/>\napache\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u968e\u5c64\u304c\u9055\u3046\u5834\u5408\u306f\u3001\u3046\u307e\u304f\u52d5\u4f5c\u3057\u306a\u304f\u306a\u308b<br \/>\napache\u306e\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092&#8221;\/var\/www\/htdocs&#8221;<br \/>\ndoc_root = &#8220;\/var\/www\/htdocs\/test&#8221;\u3068\u3057\u305f\u3068\u304d<br \/>\nhttp:\/\/x.x.x.x\/k.php \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068<br \/>\n\/var\/www\/htdocs\/test\/k.php \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b<br \/>\n\u3053\u306e\u969b\u306b\/var\/www\/htdocs\/test\/k.php \u304c\u5b58\u5728\u3057\u3066\u3082<br \/>\n\/var\/www\/htdocs\/k.php \u304c\u5b58\u5728\u3057\u306a\u3051\u308c\u3070404\u30a8\u30e9\u30fc<br \/>\n\u307e\u305f\/var\/www\/htdocs\/k.php \u304c\u5b58\u5728\u3057\u3066\u3082<br \/>\n\u3053\u306e\u969b\u306b\/var\/www\/htdocs\/test\/k.php \u304c\u5b58\u5728\u3057\u306a\u3051\u308c\u3070\u3001<br \/>\n&#8220;No input file specified.&#8221;\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3059\u308b<\/p>\n<h2>user_dir =<\/h2>\n<p>PHP\u30d5\u30a1\u30a4\u30eb\u7528\u306b\u30e6\u30fc\u30b6\u30fc\u306e\u30db\u30fc\u30e0\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u3057\u3066\u4f7f\u7528\u3059\u308b\u57fa\u672c\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u540d<br \/>\n\u2605\uff1f<\/p>\n<h2>enable_dl = Off<\/h2>\n<p>Apache\u30e2\u30b8\u30e5\u30fc\u30eb\u7248\u306ePHP\u3092\u4f7f\u7528\u3057\u305f\u5834\u5408\u306b\u306e\u307f\u6709\u7528<br \/>\nPHP\u306e\u52d5\u7684\u30ed\u30fc\u30c9\u62e1\u5f35\u6a5f\u80fd\u3092 dl()\u3067\u4eee\u60f3\u30b5\u30fc\u30d0\u30fc\u6bce\u307e\u305f\u306f\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u6bce\u306b\u30aa\u30f3\u307e\u305f\u306f\u30aa\u30d5\u306b\u5909\u66f4\u53ef\u80fd<\/p>\n<h2>file_uploads = On<\/h2>\n<p>HTTP \u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 \u3092\u6709\u52b9\u3068\u3059\u308b\u304b\u3069\u3046\u304b<br \/>\n\u203b\u30d5\u30a1\u30a4\u30eb\u305d\u306e\u3082\u306e\u306f\u5909\u6570\u306b\u306f\u683c\u7d0d\u305b\u305a\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3084\u30d5\u30a1\u30a4\u30eb\u30b5\u30a4\u30ba\u306a\u3069\u306e\u60c5\u5831\u3092\u5909\u6570\u306b\u683c\u7d0d\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u306f\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306b\u66f8\u304d\u8fbc\u3080\u4ed5\u69d8\u3068\u306a\u3063\u3066\u3044\u308b<\/p>\n<h2>upload_max_filesize = 2M<\/h2>\n<p>\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u5927\u30b5\u30a4\u30ba(\u30d0\u30a4\u30c8\u5358\u4f4d)<br \/>\n\u2605\u3046\u307e\u304f\u3044\u304b\u305a<br \/>\ndd if=\/dev\/zero of=100M.file bs=1024 count=102400<br \/>\ncurl -X POST &#8211;form data=\/home\/shimizu\/100M.file http:\/\/49.212.204.46\/index.php<br \/>\nhttp:\/\/www.atmarkit.co.jp\/ait\/articles\/1201\/30\/news132.html<\/p>\n<h2>max_file_uploads = 20<\/h2>\n<p>\u540c\u6642\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u304d\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u5927\u6570\u3002 PHP 5.3.4 \u4ee5\u964d\u3001\u4f55\u3082\u30d5\u30a1\u30a4\u30eb\u3092\u6307\u5b9a\u305b\u305a\u306b\u9001\u4fe1\u3055\u308c\u305f\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30d5\u30a3\u30fc\u30eb\u30c9\u306f \u30d5\u30a1\u30a4\u30eb\u6570\u306b\u6570\u3048\u3089\u308c\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<h2>allow_url_fopen = On<\/h2>\n<p>URL\u5bfe\u5fdc\u306efopen\u30e9\u30c3\u30d1\u30fc\u304c\u4f7f\u7528\u53ef\u80fd\u3068\u306a\u308a\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u3088\u3046\u306bURL\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b<\/p>\n<pre class=\"brush: php; title: f.php; notranslate\" title=\"f.php\">\r\n&lt;?php\r\n$fp=fopen('http:\/\/www.google.co.jp','r');\r\nwhile ($line = fgets($fp)){\r\necho &quot;$line&quot;;\r\n}\r\nfclose($fp);\r\n?&gt;\r\n<\/pre>\n<p>allow_url_fopen = Off \u3068\u3057\u305f\u3068\u304d\u3001URL\u8d8a\u3057\u306efopen\u306f\u30a8\u30e9\u30fc\u3068\u306a\u308b<br \/>\n[Sun Nov 03 18:28:08 2013] [warn] [client x.x.x.x] mod_fcgid: stderr: PHP Warning: fopen(): http:\/\/ wrapper is disabled in the server configuration by allow_url_fopen=0 in \/var\/www\/htdocs\/f.php on line 3<br \/>\n[Sun Nov 03 18:28:08 2013] [warn] [client x.x.x.x] mod_fcgid: stderr: PHP Warning: fopen(http:\/\/www.google.co.jp): failed to open stream: no suitable wrapper could be found in \/var\/www\/htdocs\/f.php on line 3<br \/>\n[Sun Nov 03 18:28:08 2013] [warn] [client x.x.x.x] mod_fcgid: stderr: PHP Warning: fgets() expects parameter 1 to be resource, boolean given in \/var\/www\/htdocs\/f.php on line 4<br \/>\n[Sun Nov 03 18:28:08 2013] [warn] [client x.x.x.x] mod_fcgid: stderr: PHP Warning: fclose() expects parameter 1 to be resource, boolean given in \/var\/www\/htdocs\/f.php on line 7<\/p>\n<h2>allow_url_include = Off<\/h2>\n<p>\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3068include, include_once, require, require_once \u3067URL\u5bfe\u5fdc\u306efopen\u30e9\u30c3\u30d1\u30fc\u304c\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b<\/p>\n<h2>default_socket_timeout = 60<\/h2>\n<p>\u30bd\u30b1\u30c3\u30c8\u30d9\u30fc\u30b9\u306e\u30b9\u30c8\u30ea\u30fc\u30e0\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u6709\u52b9\u6642\u9593(\u5358\u4f4d\u306f\u79d2)\u3092\u5b9a\u7fa9\u3059\u308b<\/p>\n<pre class=\"brush: php; title: n.php; notranslate\" title=\"n.php\">\r\n&lt;?php\r\n$homepage = file_get_contents('http:\/\/8.8.8.8');\r\necho $homepage;\r\n?&gt;\r\n<\/pre>\n<p>default_socket_timeout = 1 \u3068\u3057\u305f\u3068\u304d\u3001URL\u304c\u5f37\u5f15\u3067\u3059\u304c\u3001\u30011\u79d2\u5f8c\u306b\u30a8\u30e9\u30fc<br \/>\nWarning: file_get_contents(http:\/\/8.8.8.8): failed to open stream: Connection timed out in \/var\/www\/htdocs\/n.php on line 2<br \/>\n\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u4ee5\u4e0b<br \/>\n[Sun Nov 03 23:51:56 2013] [warn] [client x.x.x.x] mod_fcgid: stderr: PHP Warning: file_get_contents(http:\/\/8.8.8.8): failed to open stream: Connection timed out in \/var\/www\/htdocs\/n.php on line 2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>php -v PHP 5.4.4-14+deb7u5 (cli) (built: Oct 3 2013 09:24:58) Copyright (c) 1997-2012 The PHP Group Zend Engin [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/54"}],"collection":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=54"}],"version-history":[{"count":39,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/54\/revisions"}],"predecessor-version":[{"id":106,"href":"https:\/\/tech.akat.info\/index.php?rest_route=\/wp\/v2\/posts\/54\/revisions\/106"}],"wp:attachment":[{"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tech.akat.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}