php
pfm84
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
php Warning: date(): It is not safe to rely on the system's timezone settings.
访问网站提示:Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you use转载 2015-07-06 15:48:57 · 335 阅读 · 0 评论 -
linux 下安装配置apache + ph
1、安装依赖包yum -y install gcc pcre-devel && yum clean all(安装过程中会提示缺少依赖包,这里统一安装)2、安装依赖包 apr、apr-util1)安装 apr apr-1.5.1.tar.gz (1.0 MB, 下载次数:68)tar -zxvf apr-1.5.1.tar.gzcd apr-1.5.1./con转载 2015-08-28 14:38:11 · 630 阅读 · 0 评论 -
php安装扩展
一般我们编译安装php时,不知道到底要安装哪些扩展,即使想全部安装,也不能将所有扩展的扩展名都列举出来,所以一般是需要哪些扩展就安装哪些扩展,待后续需要某扩展时再补充编译进去如果我们运行的php版本有对应的扩展,而是之前编译时没有编译进去,可以通过以下方法安装。 1、直接cd到之前安装的源代码目录下的ext/extends_package_name,即对应的扩展包路径 2、在该扩展转载 2015-08-28 09:56:49 · 792 阅读 · 0 评论 -
php-fpm 未启动导致nginx 502
[root@es /]# ps aux | grep php-fpmroot 2671 0.0 0.0 103252 848 pts/0 S+ 14:37 0:00 grep php-fpmroot 2656 0.0 0.0 222564 5632 ? Ss 14:34 0:00 php-fpm: master pr原创 2015-11-19 14:41:46 · 1144 阅读 · 0 评论 -
curl 如何处理cookie
curl的easy接口中提供了5个与cookie有关的option,其中,CURLOPT_COOKIEFILE,CURLOPT_COOKIEJAR,CURLOPT_COOKIELIST都会打开curl的cookie引擎,使得curl在收到http response时解析header field中的cookie。设置CURLOPT_COOKIEFILE会使curl下一次发请求翻译 2016-03-31 14:58:43 · 2907 阅读 · 2 评论
分享