Skip to content

Commit

Permalink
Updated version of Zend Module API NO
Browse files Browse the repository at this point in the history
  • Loading branch information
willitscale committed Oct 29, 2024
1 parent ee0be89 commit 63379c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions agent/newrelic-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ fi
# (8.0, 8.1, 8.2, 8.3, 8.4)
# for x64 and aarch64
if [ ${arch} = x64 ] || [ ${arch} = aarch64 ]; then
for pmv in "20200930" "20210902" "20220829" "20230831" "20240924"; do
for pmv in "20200930" "20210902" "20220829" "20230831" "20240925"; do
check_file "${ilibdir}/agent/${arch}/newrelic-${pmv}.so"
done
fi
Expand Down Expand Up @@ -1240,7 +1240,7 @@ does not exist. This particular instance of PHP will be skipped.
8.1.*) pi_modver="20210902" ;;
8.2.*) pi_modver="20220829" ;;
8.3.*) pi_modver="20230831" ;;
8.4.*) pi_modver="20240924" ;;
8.4.*) pi_modver="20240925" ;;
esac
log "${pdir}: pi_modver=${pi_modver}"

Expand Down
2 changes: 1 addition & 1 deletion agent/php_includes.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
#define ZEND_8_1_X_API_NO 20210902
#define ZEND_8_2_X_API_NO 20220829
#define ZEND_8_3_X_API_NO 20230831
#define ZEND_8_4_X_API_NO 20240924
#define ZEND_8_4_X_API_NO 20240925

#if ZEND_MODULE_API_NO >= ZEND_8_0_X_API_NO /* PHP8+ */
#include "Zend/zend_observer.h"
Expand Down
2 changes: 1 addition & 1 deletion make/release.mk
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ release-$1-zts: Makefile agent | releases/$$(RELEASE_OS)/agent/$$(RELEASE_ARCH)/

endef

$(eval $(call RELEASE_AGENT_TARGET,8.4,20240924))
$(eval $(call RELEASE_AGENT_TARGET,8.4,20240925))
$(eval $(call RELEASE_AGENT_TARGET,8.3,20230831))
$(eval $(call RELEASE_AGENT_TARGET,8.2,20220829))
$(eval $(call RELEASE_AGENT_TARGET,8.1,20210902))
Expand Down

0 comments on commit 63379c8

Please sign in to comment.