wok-current rev 25606
Fix php7 module and acess list (follow 2.4)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 22:01:01 2023 +0000 (14 months ago) |
parents | 1336870a9462 |
children | 54300170b458 |
files | php-apache/receipt |
line diff
1.1 --- a/php-apache/receipt Fri Sep 01 21:10:48 2023 +0000 1.2 +++ b/php-apache/receipt Fri Sep 01 22:01:01 2023 +0000 1.3 @@ -33,9 +33,9 @@ 1.4 { 1.5 grep -q php5_module "$1/etc/apache/httpd.conf" || 1.6 { 1.7 - sed -e 's|mod_rewrite.so|mod_rewrite.so\nLoadModule php5_module share/apache/modules/libphp5.so|' \ 1.8 + sed -e 's|mod_rewrite.so|mod_rewrite.so\nLoadModule php5_module share/apache/modules/libphp7.so|' \ 1.9 -e 's|DirectoryIndex index.html|DirectoryIndex index.html index.php|' \ 1.10 - -e 's|mime.types|mime.types\n AddType application/x-httpd-php .php .php3 .php4 .php5\n AddType application/x-httpd-php-source .phps|' \ 1.11 + -e 's|mime.types|mime.types\n AddType application/x-httpd-php .php .php3 .php4 .php5 .php7\n AddType application/x-httpd-php-source .phps|' \ 1.12 -i "$1/etc/apache/httpd.conf" 1.13 } 1.14 1.15 @@ -50,6 +50,7 @@ 1.16 AllowOverride None 1.17 Order allow,deny 1.18 Allow from all 1.19 + Require all granted 1.20 </DirectoryMatch> 1.21 EOT 1.22