2018-4-16 17:59:03 星期一 1. 发送带有xml参数的请求时如果是用php curl, 需要将数组形式的post data 用 http_build_query() 转换 2. 接收时需要将xml用html_entity_decode()函数处理一下…
Warning: simplexml_load_string(): Entity: line 432: parser error : EntityRef: expecting ';' character is used in XML to insert a character reference with syntax &name; (note ; after name). Parser expects a ; but it can't find it (there are more avail…
0. 1.问题 1.1现象: nginx error.log 提示 [error] 887#887: *58 FastCGI sent in stderr: "PHP message: PHP Warning:  mysql_connect(): Headers and client library minor version mismatch. Headers:50556 Library:50637 https://stackoverflow.com/questions/10759334/he…
今天重启了mac,突然发现本地的 lnmp 服务不能用了,什么请求都返回了: FastCGI sent in stderr: "Primary script unknown" 这个就很尴尬了,可是我啥也没动啊,但是没有办法,出问题了就得查,google了一下,出这个问题一般有两个原因: 一是nginx的配置文件问题 /usr/local/etc/nginx/nginx.conf (个人的,你们的路径不一定是这个)中的 fastcgi_param 参数配置问题,nginx默认配置为: f…
今天呢想学习一下zabbix监控一下我的服务情况,然后就开始安装我的zabbix服务,首先LNMP环境准备好了,Nginx版本为1.6.3,php版本为5.3.27,MySQL版本为二进制包安装的5.5.49,一切准备就绪,到了网页安装的过程,输入地址就是不显示网页,然后看了我的Nginx的错误日志如下: // :: [error] #: * FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpect…
2013/10/22 20:05:49 [error] 12691#0: *6 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: 192.168.168.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.…
在对nginx添加fastCGI的支持后,然后进行php页面验证,发现页面识别不到,不清楚什么情况,随后google了下,原来是Nginx内置变量问题惹的祸. 1.平台介绍: 1 2 3 4 5 6 OS Version:        CentOS release 6.4 (Final) Nginx Version:     nginx version: nginx/1.4.3 PHP Version:       PHP 5.5.5 (fpm-fcgi) Mysql Version:    …
一.问题现象 1.安装nginx.php.php-fpm后,浏览器访问php报错,“File not found”: 二.问题排查 1.检查nginx.php-fpm服务是否正常启动,均正常启动: 2.检查服务端口号,分别是nginx:81.php:9000 3.查看nginx错误日志 /usr/local/nginx/logs/error.log   tail -n 20 error.log [error] 24324#0: *31 FastCGI sent in stderr: "Prima…
Xhprof在windows下点击[View Full Callgraph]调用graphviz软件时.警告Warning: proc_open() [function.proc-open]: CreateProcess failed, error code – 0 in并提示failed to execute cmd " D:/graphviz-2.38/release/bin/dot -Tpng" 位置是xhprof_lib/utils/callgraph_utils.php文件下…
[root@localhost tmp]# ./mq.sh./mq.sh: line 15: warning: here-document at line 10 delimited by end-of-file (wanted `eof')5724 72 1994 2011 1 4 8409 4 2016 02 07 18 56 09 0 0 0 2016 02 07 18 56 09 82 0 0 5000 4194304 0 80 20 999999999 999999999 1 0 2 脚…