- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 Field 'ssl_cipher' doesn't have a default value
原因:在我的配置文件my.cnf中有这样一条语句sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES指定了严格模式,为了安全,严格模式禁止通过insert 这种形式直接修改mysql库中的user表进行添加新用户解决办法:将配置文件中的STRICT_TRANS_TABLES删掉,即改为:sql_mode=NO_ENGINE_SUBSTITUTION然
2015-07-31 18:07:19 435
转载 Please, commit your changes or stash them before you can merge.
原文地址:http://blog.csdn.net/iefreer/article/details/7679631如果系统中有一些配置文件在服务器上做了配置修改,然后后续开发又新添加一些配置项的时候,在发布这个配置文件的时候,会发生代码冲突:error: Your local changes to the following files would be overwritten by merge:
2015-07-28 11:43:00 555
转载 在 Windows 上快速安装并运行 Laravel 5.x
原文地址:http://www.golaravel.com/post/install-and-run-laravel-5-x-on-windows/
2015-07-27 09:12:22 399
原创 还未理解到php方法()
<?phpclass A { const NAME = 'A'; public static function test() { $args = func_get_args(); echo "<br>"; echo static::NAME, " ".join(',', $args)." <br> ";
2015-07-24 18:36:51 318
原创 Php-fpm
php-fpm -t php-fpm -c /usr/local/etc/php/5.5/php.ini -y /usr/local/etc/php/5.5/php-fpm.conf -t #启动php-fpm php-fpm -D php-fpm -c /usr/local/etc/php/5.5/php.ini -y /usr/local/etc/php/5.5/php-fpm.conf -D
2015-07-22 14:55:16 401
转载 Nginx 配置php-fpm(或者Fast_cgi等等)——File Not find!
使用php-fpm解析PHP,”No input file specified”,”File not found”是令nginx新手头疼的常见错误,原因是php-fpm进程找不到SCRIPT_FILENAME配置的要执行的.php文件,php-fpm返回给nginx的默认404错误提示。比如我的网站doucument_root下没有test.php,访问这个文件时通过抓包可以看到返回的内容。HTTP
2015-07-22 09:15:19 505
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人