mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-11 23:00:52 +00:00
8414a3aa0f
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.
16 lines
520 B
Bash
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
|
|
}
|