Package: phamm
Version: 0.6.8-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu hirsute ubuntu-patch

Dear Maintainer,

In Ubuntu, the attached patch was applied to achieve the following:

  * Fix Apache configuration file to use mod_php7.c, not mod_php5.c.

Thanks for considering the patch.

Logan

-- System Information:
Debian Release: bullseye/sid
  APT prefers groovy-updates
  APT policy: (500, 'groovy-updates'), (500, 'groovy-security'), (500, 
'groovy'), (100, 'groovy-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.128-microsoft-standard (SMP w/8 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
diff -Nru phamm-0.6.8/debian/conf/phamm.conf phamm-0.6.8/debian/conf/phamm.conf
--- phamm-0.6.8/debian/conf/phamm.conf  2014-07-15 01:38:41.000000000 -0400
+++ phamm-0.6.8/debian/conf/phamm.conf  2019-03-28 12:19:26.000000000 -0400
@@ -23,7 +23,7 @@
 
     <IfModule mod_mime.c>
 
-      <IfModule mod_php5.c>
+      <IfModule mod_php7.c>
         AddType application/x-httpd-php .php
 
         php_flag magic_quotes_gpc Off
@@ -32,12 +32,12 @@
         php_value include_path .
       </IfModule>
 
-      <IfModule !mod_php5.c>
+      <IfModule !mod_php7.c>
         <IfModule mod_actions.c>
           <IfModule mod_cgi.c>
             AddType application/x-httpd-php .php
 
-            Action application/x-httpd-php /cgi-bin/php5
+            Action application/x-httpd-php /cgi-bin/php
           </IfModule>
         </IfModule>
       </IfModule>

Reply via email to