| Twitter | Del.icio.us | Comments (17) | | Edit

Comments Powered by Disqus

留言评论 | Comments (17)

看不懂,纯粹抢沙发的,嘿嘿。

This is temporary restriction to let php-fpm become mature in his cradle
before it hit the streets.
I'd like to see all main features implemented first. Then the licence most
probably will be changed to php-compatible one in order to be accepted by php
developers.
BTW, current licence does not restrict you from use of the product, only from
distribution in particular cases.


这是作者的原话。

刚换成Nginx,现在感到不爽的是资料太少啦

改行了,,已不再关注

估计还是稳定性的问题吧
好像开源的产品,开始的时候功能加的都很快,而后就越来越慢的,稳定性就排到第一位了
不过,只要不是每次重写的就好
稳定第一

PHP 5.2的fastcgi一直有bug,只能用php-fpm来修订.
我很早就用这个了,效果还是非常好的.

这个确实很强悍,我们也用了好久,没出过什么异常!

谢谢!学习一下

php+mysql+GD
没有问题
./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-j
peg-dir=/usr/local --with-zlib-dir=/usr/local --with-freetype-dir=/usr/local --with-png-dir=/usr/local --with-gd=/usr/local/GD --with-libxml-dir=/usr/local --enable-mbstring --enable-xml --enable-sockets --enable-ipv6 --enable-fastcgi --enable-fpm
但是加入fpm后编译出fpm_php.c: In function `zend_ini_alter_master':
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:27: error: `tsrm_ls' undeclared (first use in this function)
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:27: error: (Each undeclared identifier is reported only once
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:27: error: for each function it appears in.)
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:27: warning: dereferencing type-punned pointer will break strict-aliasing rules
/php-5.2.6/sapi/cgi/fpm/fpm_php.c: In function `fpm_php_apply_defines':
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:87: error: too few arguments to function `php_dl'
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:99: error: `tsrm_ls' undeclared (first use in this function)
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:101: warning: passing arg 2 of `fpm_php_disable' from incompatible pointer type
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:108: warning: passing arg 2 of `fpm_php_disable' from incompatible pointer type
/php-5.2.6/sapi/cgi/fpm/fpm_php.c: In function `fpm_php_cleanup':
/php-5.2.6/sapi/cgi/fpm/fpm_php.c:126: error: `tsrm_ls' undeclared (first use in this function)
make: *** [sapi/cgi/fpm/fpm_php.lo] 错误 1

好文。
但是下面这句链接视乎有问题,中文的链接不对。
-----------------------------
但这样存在不少缺点(中文版本)。
-----------------------------

php没整合这个patch是因为它使用了GPL授权.

5.2.7 rls

我现在使用nginx+php fpm

现在nginx七个并发左右,数据库基本空闲,但在打开BBS时感觉有时比较慢.看Nginx服务器有时CPU会达到30%,PHP FPM进程现在调整到100个.PHP日志也没有报错.

不知道什么原因.

出现499错误:
[WARNING] fpm_stdio_child_said(), line 167: child 3506 (pool default) said into stderr: "Feb 05 09:26:39.902098 [ERROR] fpm_unix_init_child(), line 168: setrlimit(RLIMIT_NOFILE) failed: Invalid argument (22)" 是什么原因?

@php

版本有问题吧?

[WARNING] fpm_stdio_child_said(), line 167: child 3506 (pool default) said into stderr: "Feb 05 09:26:39.902098 [ERROR] fpm_unix_init_child(), line 168: setrlimit(RLIMIT_NOFILE) failed: Invalid argument (22)" 是什么原因?

请参考
http://www.crazylemon.net/linux/173.html
更改ulimit值,就不会报这个错了

留个记号!

关于本文

这篇文章由 Fenng 于 May 22, 2008 9:57 PM 发布.

上一篇:侠客行恭候网络侠客.

下一篇:侠客行会议归来.

回到 首页 查看最近发表的文章或者查看所有 归档文章.