- phpstudy 提示 mysqld.exe: Error while setting value ‘NO_ENGINE_SUBSTITUTION 错误的解决办法
- phpstudy 启动 mysql 错误,提示 mysqld.exe: Error while setting value ‘NO_ENGINE_SUBSTITUTION 错误,解决办法是去掉 mysql sql_mode 配置项参数中逗号后面的空格
- PHP错误:“open_basedir restriction in effect”的解决方法
- 迁移服务器的时,发现网站配置好了,composer也更新了,但是访问入口文件的时候有提示报错:Warning:file_exists(): open_basedir restriction in effect. File(./license.php) is not within the allowed path 好了,来看下问题应该怎么解决。
- php的strtotime('+1 month'),一个月的最后一天bug
- php的strtotime(’+1 month’)函数,如果今天是1月31号,使用strtotime(’+1 month’)函数变成3月3号,而我的结果是想获得2月份最后一天的日期,也就是2月28号,下面这段代码可以解决这个bug