aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro/recipes-devtools/php/php/php-fpm-apache.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-linaro/recipes-devtools/php/php/php-fpm-apache.conf')
-rw-r--r--meta-linaro/recipes-devtools/php/php/php-fpm-apache.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-linaro/recipes-devtools/php/php/php-fpm-apache.conf b/meta-linaro/recipes-devtools/php/php/php-fpm-apache.conf
new file mode 100644
index 00000000..77cdd82a
--- /dev/null
+++ b/meta-linaro/recipes-devtools/php/php/php-fpm-apache.conf
@@ -0,0 +1,6 @@
+# Taken from http://wiki.apache.org/httpd/PHP-FPM
+
+LoadModule proxy_module lib/apache2/modules/mod_proxy.so
+LoadModule proxy_fcgi_module lib/apache2/modules/mod_proxy_fcgi.so
+
+ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/usr/share/apache2/htdocs/