随笔分类 -  php

上一页 1 2
php工具箱使用
摘要:linux安装过程 1,去网盘下载(本人网盘也有,如果找不到,contact me)http://pan.baidu.com/s/1cxHQge 我解压以后放在/mnt/hgfs/root/phptools/ 2,修改windows的host文件 3,linux新增一个虚拟服务器 4,配置phpto 阅读全文
posted @ 2017-06-13 10:51 一只猪儿虫 阅读(330) 评论(0) 推荐(0)
thinkPHP5配置nginx环境无法打开(require(): open_basedir restriction in effect. File(/mnt/hgfs/root/tp5/thinkphp/start.php) is not within the allowed path(s)
摘要:今天想把玩一下tp5,结果怎么都无法访问,每次都是报500错误,我把错误提示都打开看到下面的错误 require(): open_basedir restriction in effect. File(/mnt/hgfs/root/tp5/thinkphp/start.php) is not wit 阅读全文
posted @ 2017-06-05 14:56 一只猪儿虫 阅读(1740) 评论(0) 推荐(0)
linux 和 windows 安装composer
摘要:在 Linux 和 Mac OS X 中可以运行如下命令: curl -sS https://getcomposer.org/installer | phpmv composer.phar /usr/local/bin/composer 在 Windows 中,你需要下载并运行 https://ge 阅读全文
posted @ 2017-06-05 10:04 一只猪儿虫 阅读(105) 评论(0) 推荐(0)
安装php readline扩展报错 Please reinstall libedit
摘要:现象:configure: error: Please reinstall libedit – I cannot find readline.h解决办法:安装 Editline Library (libedit),官网:http://thrysoee.dk/editline/ wget http:/ 阅读全文
posted @ 2017-05-27 16:44 一只猪儿虫 阅读(1265) 评论(0) 推荐(0)
linux 安装php bz2扩展
摘要:折腾了半天,最大的坑就是我是用lnmp一键安装php环境,php7下面没有ext文件夹,有个include下面虽然有个ext 但是里面没有需要的bz2 也尝试去pecl 和 pear 上面去找 无功而返 也尝试yum安装 只找到bzip2 看样子也不是一个妈生的 最终解决方案: 1,单独下载对应的p 阅读全文
posted @ 2017-05-27 15:01 一只猪儿虫 阅读(1041) 评论(0) 推荐(0)
linux安装扩展总结
摘要:恢复内容开始 [root@localhost ~]# pecl search httpRetrieving data...0%Matched packages, channel pecl.php.net: Package Stable/(Latest) Localpecl_http 1.7.0 (s 阅读全文
posted @ 2017-05-25 17:08 一只猪儿虫 阅读(779) 评论(0) 推荐(0)
linux 编译安装amqp
摘要:背景: 下面的内容是我根据网上博客小松的文章 https://www.phpsong.com/2223.html 做的修改,因为我走到make 编译amqp这步报错 最开始报下面的这个错误,是因为要安装另外一个扩展rabbitmq-c configure: error: Please reinsta 阅读全文
posted @ 2017-05-25 11:12 一只猪儿虫 阅读(3629) 评论(0) 推荐(0)
yaf学习之——生成yaf示例框架
摘要:windows 下面的生成yaf示例框架 1,下载 https://github.com/laruence/yaf 2,解压以后得到yaf-master文件夹 3,cmd命令窗口cd到上面解压的文件夹 用php程序执行yaf_cg 示例名字 4,去tools/cg目录下找一个 output文件目录 阅读全文
posted @ 2017-05-18 15:05 一只猪儿虫 阅读(294) 评论(0) 推荐(0)
yaf学习之——yaf安装
摘要:yaf的github源码地址 https://github.com/laruence/yaf 第一步: 下载dll扩展: http://pecl.php.net/package/yaf/2.3.5/windows () 第二步: 解压获取里面的php_yaf.dll 第三步: 把上面的dll文件放到 阅读全文
posted @ 2017-05-18 14:38 一只猪儿虫 阅读(160) 评论(0) 推荐(0)

上一页 1 2