php
qq_16265383
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
访问nginx映射的代码目录中的index.php报错502的解决过程
1.配置nginx映射到项目代码,能够访问项目代码index.html,但是不能访问index.php:cat /etc/nginx/nginx.conf 发现其中含一句:include /etc/nginx/conf.d/*.conf;切换到目录 cd /etc/nginx/conf.d/新建: vim test2.conf其中加入:server { li...原创 2019-04-02 00:35:35 · 1268 阅读 · 0 评论 -
php -v执行报错bash: /usr/bin/php: No such file or directory
由于在目录/usr/local/php56/bin执行命令:./php -version,正常。在卸载php5.3.3之后,在根目录执行php -v,报错:bash: ./php: No such file or directory;则通过:ln -s /usr/local/php56/bin/php /usr/bin/php 方式将php可执行命令建立软连接到/user/bin/ph...原创 2019-04-02 23:28:05 · 4966 阅读 · 0 评论 -
linux下swoole安装
1.下载压缩文件到根目录:wget https://github.com/swoole/swoole-src/archive/v1.9.1-stable.tar.gz2.解压:tar zxvfv1.9.1-stable.tar.gz3.切换目录:cd swoole-src-1.9.1-stable/4.添加php扩展模块:phpize5.对安装的软件进行配置,添加依赖:先...原创 2019-04-23 00:21:08 · 304 阅读 · 0 评论
分享