( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484240{main}( ).../index.php:0
20.0000484592require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.08714094936require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.08914123928include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.08914123928get_header( $name = ???, $args = ??? ).../single.php:10
60.08914124144locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.08914124240load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.08964124784require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.08984132192wp_head( ).../header.php:18
100.08984132192do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.08984132408WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.08984132408WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.09014135824wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.09014135824do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.09014136040WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.09014136040WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.09034137928twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.09054139448wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.09054139448WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.09054139448WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.09054139448_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.09054145400wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.09054264936trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484240{main}( ).../index.php:0
20.0000484592require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.08714094936require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.08914123928include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.08914123928get_header( $name = ???, $args = ??? ).../single.php:10
60.08914124144locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.08914124240load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.08964124784require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.08984132192wp_head( ).../header.php:18
100.08984132192do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.08984132408WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.08984132408WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.09014135824wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.09014135824do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.09014136040WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.09014136040WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.09034137928twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.11484266040wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.11484266040WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.11484266040WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.11484266040_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.11484266360wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.11494266584trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

php 5.3.3 中的php-fpm配置

php 5.3.3 源码中开始包含 php-fpm,不用专门再打补丁了,只需要解开源码直接configure,关于php-fpm的编译参数有 –enable-fpm –with-fpm-user=www –with-fpm-group=www –with-libevent-dir=libevent位置。

这个php-fpm 不再支持 php-fpm 补丁具有的 /usr/local/php/sbin/php-fpm (start|stop|reload)等命令,需要使用信号控制:

master进程可以理解以下信号

SIGINT, SIGTERM 立刻终止
SIGQUIT 平滑终止
SIGUSR1 重新打开日志文件
SIGUSR2 平滑重载所有worker进程并重新载入配置和二进制模块

示例:
php-fpm 关闭:
kill -SIGINT `cat /usr/local/php/var/run/php-fpm.pid`
php-fpm 重启:
kill -SIGUSR2 `cat /usr/local/php/var/run/php-fpm.pid`

其次配置文件不再使用的xml 格式,改为了INI,但是配置参数几乎和以前一样,可参照xml格式的格式配置。

—————-补充内容—————-
php-fpm的启动:

cp -f (php -5.3.x-source-dir)/sapi/fpm/init.d.php-fpm /etc/init.d/php-fpm
chmod 755 /etc/init.d/php-fpm
/etc/init.d/php-fpm start
/sbin/chkconfig --add php-fpm (添加到开机服务列表)
/sbin/chkconfig php-fpm on

php-fpm的启动、停止和重启:
/etc/init.d/php-fpm start
/etc/init.d/php-fpm stop
/etc/init.d/php-fpm reload

One thought on “php 5.3.3 中的php-fpm配置”

  1. 老大,能不能问一下,resin 4.0.x的破解文件为何不能通用啊,3.1.x的就可以啊!
    resin 4.3.33发布了,老大抽空看看

Leave a Reply to zmcjs Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.