0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-11 23:00:52 +00:00
termux-packages/packages/php/php-apache.subpackage.sh
Tee KOBAYASHI 8414a3aa0f php: Bump to 8.2.0
Extensions for PHP/Apache are packaged under the name of `php-apache-*`
and are installed under the directory `$PREFIX/lib/php-apache/`.

(Extensions under `$PREFIX/lib/php/` will not work with PHP/Apache.)

See also https://github.com/termux/termux-packages/issues/13256.
2022-12-12 20:57:01 +00:00

16 lines
520 B
Bash

TERMUX_SUBPKG_DESCRIPTION="Apache 2.0 Handler module for PHP"
TERMUX_SUBPKG_DEPENDS="apache2, apr-util"
TERMUX_SUBPKG_INCLUDE="libexec/apache2/libphp.so"
termux_step_create_subpkg_debscripts() {
cat <<- EOF > ./postinst
#!$TERMUX_PREFIX/bin/sh
echo
echo " Extensions for PHP/Apache are packaged under the name of 'php-apache-*'"
echo " and are installed under the directory '\\\$PREFIX/lib/php-apache/'."
echo
echo " (Extensions under '\\\$PREFIX/lib/php/' will not work with PHP/Apache.)"
echo
EOF
}