Skip to content

Commit 1856ac9

Browse files
committed
Disable xhprof cuz it does not work with PHP 8.4.2
1 parent b38250a commit 1856ac9

2 files changed

Lines changed: 8 additions & 5 deletions

File tree

build-bash-base.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ if [[ "$BUILD_DEV" == "1" ]]; then
101101
"--enable-debug"
102102
# "--enable-memprof"
103103
# "--enable-memprof-debug"
104-
"--enable-tideways-xhprof"
104+
#
105+
# It does not work with PHP 8.4.2
106+
# "--enable-tideways-xhprof"
105107
# "--enable-xdebug"
106108
)
107109
fi

helper.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,10 @@ build_dev_conf() {
6464
git checkout 68eb143bd5700a6fe041826118aeb9a13a3fcef3
6565
cd ..
6666

67-
git clone https://github.com/tideways/php-xhprof-extension.git tideways_xhprof && cd "$_"
68-
git checkout 6ee298f910a3661960f454bd6a787686657c7570
69-
cd ..
67+
# It does not work with PHP 8.4.2
68+
# git clone https://github.com/tideways/php-xhprof-extension.git tideways_xhprof && cd "$_"
69+
# git checkout 7877082945fcccced12676749676af1736a00f65
70+
# cd ..
7071

7172
# Still not working due to zend
7273
# git clone https://github.com/donhardman/xdebug.git xdebug && cd "$_"
@@ -83,4 +84,4 @@ fix_static_linking() {
8384
sed -ie 's/PHP_INI_ENTRY("openssl.cafile", NULL, PHP_INI_PERDIR, NULL)/PHP_INI_ENTRY("openssl.cafile", "\/etc\/ssl\/cert.pem", PHP_INI_PERDIR, NULL)/g' ext/openssl/openssl.c
8485
sed -ie 's/-export-dynamic//g' Makefile
8586
sed -ie 's/-o $(SAPI_CLI_PATH)/-all-static -o $(SAPI_CLI_PATH)/g' Makefile
86-
}
87+
}

0 commit comments

Comments
 (0)