Bug #73449 [NEW]: UPGRADING

From: Date: Thu, 03 Nov 2016 06:20:47 +0000
Subject: Bug #73449 [NEW]: UPGRADING
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205164@lists.php.net to get a copy of this message
From:             admin at angosso dot net
Operating system: OS_LINUX = 3;
PHP version:      7.0.12
Package:          Output Control
Bug Type:         Bug
Bug description:UPGRADING 

Description:
------------
包括 Solaris,Mac OS X,Oracle Linux 和 BSD
在内的很多操作系统 都提供了 DTrace
跟踪调试框架,它永远可用,并且额外消耗极低。
DTrace
可以跟踪操作系统行为和用户程序的执行情况。
它可以显示参数值,也可以用来分析性能问题。
用户可以使用 DTrace D
脚本语言创建脚本文件来监控探针,进而高效分析数据指针。

除非用户使用 DTrace D 脚本激活并监控 PHP
探针,否则它并不会运行,所以不会给正常的应用执行带来任何性能损耗。
即使 PHP
探针被激活,它的消耗也是非常低的,甚至可以直接在生产系统中使用。

Test script:
---------------
# modprobe fasttrap
# chmod 666 /dev/dtrace/helper

Build PHP with the --enable-dtrace configuration parameter:

# ./configure --enable-dtrace ...
# make
# make install
#!/usr/bin/env bash

rm .rbenv-version 2>/dev/null

VERSIONS=$(phpenv versions --bare)
SCRIPT_DIR=$(dirname $0)

for v in $VERSIONS system; do
  echo -n "$v: "
  if ${SCRIPT_DIR}/test-build.sh $v >$v.log 2>&1; then
    echo -e "\033[1;32mPASS\033[0m"
  else
    echo -e "\033[1;31mFAIL\033[0m"
  fi
done


-- 
Edit bug report at https://bugs.php.net/bug.php?id=73449&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=73449&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=73449&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=73449&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=73449&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=73449&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=73449&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=73449&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=73449&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=73449&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=73449&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=73449&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=73449&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=73449&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73449&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=73449&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=73449&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=73449&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73449&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=73449&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=73449&r=mysqlcfg



Thread (2 messages)

« previous php.bugs (#205164) next »