summaryrefslogtreecommitdiffstats
path: root/abs/core/php/php-apache.install
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-09-27 16:32:31 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-09-27 16:32:31 (GMT)
commit81afb45f2912d8a6330ab0ff0c8dee85dd442373 (patch)
tree26e8e55d99eecab0cb211a0eb5a1f092cb97f343 /abs/core/php/php-apache.install
parente6390521d31973140a9fc8f0aaea6dac27e7096a (diff)
downloadlinhes_pkgbuild-81afb45f2912d8a6330ab0ff0c8dee85dd442373.zip
linhes_pkgbuild-81afb45f2912d8a6330ab0ff0c8dee85dd442373.tar.gz
linhes_pkgbuild-81afb45f2912d8a6330ab0ff0c8dee85dd442373.tar.bz2
php: update to 5.6.26
Diffstat (limited to 'abs/core/php/php-apache.install')
-rw-r--r--abs/core/php/php-apache.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/core/php/php-apache.install b/abs/core/php/php-apache.install
new file mode 100644
index 0000000..c9b6691
--- /dev/null
+++ b/abs/core/php/php-apache.install
@@ -0,0 +1,11 @@
+post_install() {
+ echo "You will need to add the following line after the existing LoadModule instructions in /etc/httpd/conf/httpd.conf :"
+ echo "LoadModule php5_module modules/libphp56.so"
+ echo
+ echo "Additionally, include this line at the end of /etc/httpd/conf/httpd.conf if you want .php files to be handled by php 5.6 :"
+ echo "Include conf/extra/php56_module.conf"
+ echo
+ echo "Be aware that ONLY A SINGLE PHP MODULE can be loaded into an Apache instance."
+ echo "If you want php 5 and php 7 to cohabitate, you'll have to use another method such as php-fpm, fcgi or cgi for the other PHP version."
+}
+