![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
「已注销」
这个作者很懒,什么都没留下…
展开
-
inner join 与 left join 之间的区别
原文:https://www.cnblogs.com/assasion/p/7768931.html 关于inner join 与 left join 之间的区别,以前以为自己搞懂了,今天从前端取参数的时候发现不是预想中的结果,才知道问题出在inner join 上了。需求是从数据库查数据,在前端以柱形图的形式展现出来,查到的数据按行业分组,显示每个行业的户数及户数占比,涉及到的字段有...转载 2020-02-16 15:09:43 · 177 阅读 · 0 评论 -
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in E:\WWW\blog\hyii2\frontend\web\index.php
yii2.0.32.高级模板。Parse error: syntax error, unexpected T_OBJECT_OPERATOR in E:\WWW\blog\hyii2\frontend\web\index.php on line 17https://www.imooc.com/qadetail/189883这个是语法报错,你首先要去检查E:\WWW\blog\hyi...原创 2020-02-13 21:02:56 · 1392 阅读 · 0 评论 -
pear/pear dependency package "pear/XML_Util" downloaded version 1.4.3 is not the recommended version
Installing PEAR environment: /usr/local/php/lib/php/[PEAR] Archive_Tar - upgraded: 1.4.7[PEAR] Console_Getopt - upgraded: 1.4.2[PEAR] Structures_Graph- already installed: 1.1.1pear/p...原创 2019-09-05 16:55:16 · 1798 阅读 · 0 评论 -
Mac下安装swoole拓展 error “require PHP version 7.1 or later.”
Mac下安装swoole拓展最近想探索下php的swoole框架,于是就想安装看看,按照文档上面的步骤,下载了swoole拓展源码,准备按照标准的PHP扩展编译方式进行编译和安装-phpize- ./configure- make install结果在make install的时候报错了error “require PHP version 7.1 or later.”,原来是因为...转载 2019-09-05 17:28:40 · 1869 阅读 · 0 评论 -
centos7安装php7.3报错:Requires: libargon2.so.0()(64bit)
安装php7.3,之前卸载可能把扩展卸掉?yum install php73w-fpm php73w-cli php73w-gd php73w-mcrypt php73w-mysql php73w-pear php73w-xml php73w-mbstring php73w-pdo php73w-json php73w-pecl-apcu php73w-pecl-apcu-devel报...原创 2019-09-06 00:50:08 · 5080 阅读 · 1 评论 -
CentOS 7 yum 安装 PHP7.3 教程
之前有一个是php7.0.33的,但是没有7.3的源。想直接改直接说没有。2019年9月6日 09:37:11并不是没有,而且7.3版本取消了那些包……也就是说把包名更新就可以了?见这个文章最下面。还有先下载压缩包再安装,比较麻烦一点。https://blog.csdn.net/laohe08/article/details/93166590但是很快报错:--->...原创 2019-09-06 08:57:45 · 2566 阅读 · 0 评论 -
centos,nginx+php7.3,access denied
又忘记了setenforece 0.不过可以永久改写。原创 2019-09-06 09:30:06 · 766 阅读 · 0 评论 -
centos7,php73,找不到php.ini
昨天两个版本,全部删掉。现在重新安装php7.3,结果找不到php.ini了。centos6.5 查找不到php.ini文件https://blog.csdn.net/shancunxiaoyazhi/article/details/49766951就可以了。或者是:https://blog.csdn.net/qq_41850194/article/details/8...原创 2019-09-06 11:30:21 · 2036 阅读 · 0 评论 -
pecl安装卸载模块,如何自动配置php.ini
http://newsn.com.cn/say/pecl-php-ini.html转载 2019-09-06 17:52:38 · 362 阅读 · 0 评论 -
configure: WARNING: unrecognized options: --with-mcrypt, --enable-gd-native-ttf
https://blog.csdn.net/qq_39034363/article/details/90516124转载 2019-09-05 15:53:37 · 1623 阅读 · 0 评论 -
php安装执行configure报错error: off_t undefined; check your library configuration
https://www.jianshu.com/p/f73cc37b1053原创 2019-09-05 15:45:02 · 459 阅读 · 0 评论 -
phpstudy升级mysql失败后mysqld启动不了
win7,64位,phpstudy2018,不知道多少位.替换mysql,从5.5到5.7,按照网上资料,下载32位的,结果mysqld一下子就过去了,并没有启动。然后mysql -uroot -proot,又警告说这样不安全。然后mysql -uroot -p,确认,然后root,然后连不上localhost。放弃。结果换回5.5.但是依然是mysqld一闪就过去,mysql...原创 2019-07-24 18:10:08 · 311 阅读 · 0 评论 -
phpstorm设置代码片段输出格式化调试结果
Ctrl+Alt+S,live templates.选择php.分别填入缩写,描述,内容。下面选择php。可以一边写一边参考其他。$VAR$代表变量,而且里面VAR是自己随便填的。右边可以设置变量。有参考变量设置和代码片段的官方文档。https://www.jetbrains.com/help/phpstorm/2016.1/edit-template-variab...原创 2019-07-25 10:07:29 · 357 阅读 · 0 评论 -
yii报错: Cannot use 'Object' as class name as it is reserved in yii2\base\Object.php on line 77
Cannot use 'Object' as class name as it is reserved in J:\apitpl\vendor\yiisoft\yii2\base\Object.php on line 77为什么呢?原来是升级php7.2惹的祸。现在学魏曦yii2.0reseful api视频,讲解非常简略,所以需要源代码。然而源代码却是php5.6还是5.4的...原创 2019-07-25 17:06:51 · 3570 阅读 · 0 评论 -
yii RBAC权限错误:Duplicate entry 'createPost' for key 'PRIMARY'
首先自然是检查RbacController.php有没有问题啦。但是修改了还是不行……$ ./yii rbac/initException 'yii\db\IntegrityException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'createPost'...原创 2019-07-23 07:07:05 · 380 阅读 · 0 评论 -
php中单引号和双引号……
魏曦的yii课程,优酷,yii,1.5倍速,2018年12月?实际貌似是2015……7-1,6分14秒左右代码:frontend/views/post/_listitem.php <div class="nav"> <span class="glyphicon glyphicon-tag" aria-hidden="true"><...原创 2019-07-23 11:31:27 · 90 阅读 · 0 评论 -
如何去掉yii和tp本地测试域名里面的index.php?
之前用tp,不知道怎么去掉index.php,看魏曦yii才明白。现在补充一下。我用phpstudy的集成环境,打开apache的vhosts.conf.做出以下修改替换。<VirtualHost *:80> DocumentRoot "J:\blogdemo3\frontend\web" ServerName blog.com ServerAli...原创 2019-08-09 10:52:23 · 110 阅读 · 0 评论 -
主机无法访问虚拟机的apache解决办法
照着以下文章在vmware运行的centos上安装php5.4和apache,结果win7主机始终访问不了。再依照以下文章:https://www.cnblogs.com/Anker/p/3551211.html测试就是反复ping还是不行然后,http://192.168.44.132/index.html.去掉index.html.就可以了???接下去再看看...原创 2019-09-03 19:13:01 · 1274 阅读 · 0 评论 -
502bad gateway:connect() failed (111: Connection refused) while connecting to upstream
centos7开机,先setenforce 0,然后信心十足开机……结果502bad gateway。昨天修改了用户组……于是又把所有文件夹都修改用户组……然而并没有什么用。然后找nginx.conf,找到error.log路径,然后找到错误:2019/09/04 09:56:12 [error] 23926#23926: *5 FastCGI sent in stderr:...原创 2019-09-05 11:03:02 · 1743 阅读 · 0 评论 -
php版本冲突,yii高级模版advanced安装后注册报错:Swift\Mime\SimpleMessage.php:syntax error, unexpected '?'
报错信息部分如下。1. in J:\apitpl\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Mime\SimpleMessage.php at line 490481482483484485486487488489490491492493494495496497498499 * * @return int ...原创 2019-07-24 16:47:43 · 451 阅读 · 0 评论