summarylogtreecommitdiffstats
path: root/php-apache.install
diff options
context:
space:
mode:
authorRaphaël Doursenaud2016-03-10 17:16:56 +0100
committerRaphaël Doursenaud2016-03-10 17:19:05 +0100
commit4f7f61157312b7f549483a38a79624b0867eda36 (patch)
tree7da1178fbb1bb5032f849ca56d383a833ec24b97 /php-apache.install
downloadaur-4f7f61157312b7f549483a38a79624b0867eda36.tar.gz
v5.5.33
Package adapted from php56
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..deeb37f85742
--- /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/libphp55.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.5 :"
+ echo "Include conf/extra/php55_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."
+}
+