@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := php
PKG_VERSION := 8.0.12
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_MAINTAINER := Michael Heimpold <mhei@heimpold.de>
PKG_LICENSE := PHP-3.01
@ -40,7 +40,7 @@ PHP8_MODULES= \
PKG_CONFIG_DEPENDS := \
$( patsubst %,CONFIG_PACKAGE_php8-mod-%,$( PHP8_MODULES) ) \
CONFIG_PHP8_LIBXML CONFIG_PHP8_SYSTEMTZDATA
CONFIG_PHP8_LIBXML CONFIG_PHP8_SYSTEMTZDATA CONFIG_PACKAGE_apache-mod-php8
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / n l s . m k
@ -66,7 +66,7 @@ define Package/php8/config
config PHP8_SYSTEMTZDATA
bool "Use system timezone data instead of php's built-in database"
depends on PACKAGE_php8-cli || PACKAGE_php8-cgi
depends on PACKAGE_php8-cli || PACKAGE_php8-cgi || PACKAGE_apache-mod-php8
default y
help
Enabling this feature automatically selects the zoneinfo-core package
@ -152,6 +152,22 @@ define Package/php8-mod-intl/description
select /install package 'icu-full-data' .
e n d e f
d e f i n e P a c k a g e / a p a c h e - m o d - p h p 8
$( call Package/php8/Default)
SUBMENU:= Web Servers/Proxies
SECTION:= net
CATEGORY:= Network
DEPENDS += PACKAGE_apache-mod-php8:apache \
+PACKAGE_php8-mod-intl:libstdcpp \
+libpcre2 +zlib
TITLE:= PHP8 module for Apache Web Server
e n d e f
d e f i n e P a c k a g e / a p a c h e - m o d - p h p 8 / d e s c r i p t i o n
$( call Package/php8/Default/description)
This package contains the PHP module for the Apache Web Server.
e n d e f
# not everything groks --disable-nls
DISABLE_NLS :=
@ -462,6 +478,10 @@ else
CONFIGURE_ARGS += --without-system-tzdata
e n d i f
i f n e q ( $( CONFIG_PACKAGE_apache -mod -php 8) , )
CONFIGURE_ARGS += --with-apxs2= $( STAGING_DIR) /usr/bin/apxs
e n d i f
CONFIGURE_VARS += \
ac_cv_c_bigendian_php = $( if $( CONFIG_BIG_ENDIAN) ,yes,no) \
php_cv_cc_rpath = "no" \
@ -531,6 +551,11 @@ define Package/php8-fpm/conffiles
/ e t c / c o n f i g / p h p 8 - f p m
e n d e f
d e f i n e P a c k a g e / a p a c h e - m o d - p h p 8 / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib/apache2
$( INSTALL_BIN) $( PKG_BUILD_DIR) /libs/libphp.so $( 1) /usr/lib/apache2
e n d e f
d e f i n e B u i l d / P r e p a r e
$( call Build/Prepare/Default)
$( if $( QUILT) ,,( cd $( PKG_BUILD_DIR) ; touch configure.ac; ./buildconf --force ) )
@ -594,6 +619,7 @@ $(eval $(call BuildPackage,php8-cgi))
$( eval $ ( call BuildPackage ,php 8-cli ) )
$( eval $ ( call BuildPackage ,php 8-fastcgi ) )
$( eval $ ( call BuildPackage ,php 8-fpm ) )
$( eval $ ( call BuildPackage ,apache -mod -php 8) )
#$(eval $(call BuildModule,NAME,TITLE[,PKG DEPENDS]))
$( eval $ ( call BuildModule ,bcmath ,Bcmath ) )