最近在Apache的error.log里出现一个E_DEPRECATED,PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0
里面提...
之前搭建的Apache2.4服务器,经常运行两三天就莫名其秒的出现吊死,重启Apache则恢复。
核查Apache的error.log,发现经常出现这样的warn信息:RewriteOptions: MaxRedirects option has been removed in favor of the global LimitInternalRecursion directive and will be ignored.
&nb...
一、MySQL远程访问
远端的是MySQL5.5,本地是5.6。只需在远端如下设置:
1、添加远程账号:GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH GRANT OPTION;,这里的%代表任意IP,如果想限定某IP,如只给192.168.1.1远程...
一、POST Content-Length of 62112451 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
这个是PHP传数据的设置的问题。从英文意思可看到POST的文本长度是60多M,超出了8M。在php.ini里面post_max_size默认值为8M,将它改大就可以了。顺便把upload_max_filesize也改大...