summarylogtreecommitdiffstats
path: root/php-apache.install
diff options
context:
space:
mode:
authorMickaël Thomas2016-01-14 02:38:56 +0100
committerMickaël Thomas2016-01-14 02:38:56 +0100
commit79ef439ae269d324434ce5f1d109907256488772 (patch)
tree7f4d74483c9da635627dddbef0e0e6711eb67add /php-apache.install
parentd9a54966b52e1cabf22735b23d2ba3f1d152db8b (diff)
downloadaur-79ef439ae269d324434ce5f1d109907256488772.tar.gz
Make use of --program-suffix configure flag and substitue include_dir
Diffstat (limited to 'php-apache.install')
-rw-r--r--php-apache.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/php-apache.install b/php-apache.install
new file mode 100644
index 000000000000..c9b669157af0
--- /dev/null
+++ b/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."
+}
+