소스 검색

Allow short open tags in PHP code and enable for blog hosting.

Thomas Buck 5 년 전
부모
커밋
d023141dc0
3개의 변경된 파일1927개의 추가작업 그리고 0개의 파일을 삭제
  1. 8
    0
      roles/blog/tasks/blog.yml
  2. 1
    0
      roles/blog/templates/etc_apache2_sites-available_blog.j2
  3. 1918
    0
      roles/blog/templates/etc_php_7.0_apache2_php.ini.j2

+ 8
- 0
roles/blog/tasks/blog.yml 파일 보기

@@ -17,6 +17,14 @@
17 17
   command: a2enconf well-known.conf creates=/etc/apache2/conf-enabled/well-known.conf.conf
18 18
   notify: restart apache
19 19
 
20
+- name: Setup PHP config
21
+  template:
22
+    src=etc_php_7.0_apache2_php.ini.j2
23
+    dest=/etc/php/7.0/apache2/php.ini
24
+    owner=root
25
+    group=root
26
+  notify: restart apache
27
+
20 28
 - name: Create an example blog index page
21 29
   template:
22 30
     src=var_www_blog_index.j2

+ 1
- 0
roles/blog/templates/etc_apache2_sites-available_blog.j2 파일 보기

@@ -14,4 +14,5 @@
14 14
     DirectoryIndex          index.html
15 15
     Options                 -Indexes
16 16
     HostnameLookups         Off
17
+    php_admin_flag          engine On
17 18
 </VirtualHost>

+ 1918
- 0
roles/blog/templates/etc_php_7.0_apache2_php.ini.j2
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


Loading…
취소
저장