Browse Source

Portage 2.7.0 avec PHP 5.6

Teddy Cornaut 4 months ago
parent
commit
c439afd9fb
6 changed files with 7 additions and 7 deletions
  1. 1
    1
      dicos/61_pve.xml
  2. 2
    2
      postservice/61-pve
  3. 1
    1
      scripts/apacheSync.sh
  4. 1
    1
      scripts/nginxSync.sh
  5. 1
    1
      tmpl/mse-nginx.conf
  6. 1
    1
      tmpl/mse-scribe-post-install.sh

+ 1
- 1
dicos/61_pve.xml View File

@@ -18,7 +18,7 @@
18 18
         <file filelist='mse-apache-revproxy' name='/etc/apache2/mods-available/remoteip.conf' source='mse-apache-remoteip.conf' mkdir='True' rm='True'/>
19 19
 
20 20
         <service servicelist='svApache'>apache2</service>
21
-        <service servicelist='svApache'>php5-fpm</service>
21
+        <service servicelist='svApache'>php5.6-fpm</service>
22 22
         <service method='apache'>mse.conf</service>
23 23
 
24 24
         <service_access service='apache2'>

+ 2
- 2
postservice/61-pve View File

@@ -55,7 +55,7 @@ function synchroHost()
55 55
     --include="php.ini" \
56 56
     --include="pool.d" \
57 57
     --include="pool.d/mse.conf" \
58
-    /etc/php5/fpm/ root@${hst}:/etc/php5/fpm/
58
+    /etc/php/5.6/fpm/ root@${hst}:/etc/php/5.6/fpm/
59 59
 
60 60
     # Nettoyage du cache
61 61
     cmd="${cmd} rm -rf ${WORKDIR}/app/cache/*;"
@@ -86,7 +86,7 @@ function synchroHost()
86 86
 
87 87
     # Redémarrage service apache
88 88
     cmd="${cmd} a2ensite mse;"
89
-    cmd="${cmd} service php5-fpm restart;"
89
+    cmd="${cmd} service php5.6-fpm restart;"
90 90
     cmd="${cmd} service apache2 restart;"
91 91
 
92 92
     ssh ${hst} "${cmd}"

+ 1
- 1
scripts/apacheSync.sh View File

@@ -24,7 +24,7 @@ then
24 24
 	done
25 25
 
26 26
     cmd="${cmd} a2ensite mse;"
27
-    cmd="${cmd} service php5-fpm restart;"
27
+    cmd="${cmd} service php5.6-fpm restart;"
28 28
     cmd="${cmd} service apache2 restart;"
29 29
 
30 30
     ssh ${HOST} "${cmd}"

+ 1
- 1
scripts/nginxSync.sh View File

@@ -14,7 +14,7 @@ if [ $result -eq 0 ]
14 14
 then
15 15
     echo "#### Working on ${HOST}"
16 16
     # Redémarrage service nginx
17
-    cmd="service php5-fpm restart;"
17
+    cmd="service php5.6-fpm restart;"
18 18
     cmd="${cmd} service nginx restart;"
19 19
 
20 20
     ssh ${HOST} "${cmd}"

+ 1
- 1
tmpl/mse-nginx.conf View File

@@ -24,7 +24,7 @@ server {
24 24
 
25 25
 
26 26
   location ~ ^/app\.php(/|$) {
27
-    fastcgi_pass unix:/var/run/php5-fpm.sock;
27
+    fastcgi_pass unix:/var/run/php/php5.6-fpm.sock;
28 28
     fastcgi_split_path_info ^(.+\.php)(/.*)$;
29 29
     include fastcgi_params;
30 30
     # When you are using symlinks to link the document root to the

+ 1
- 1
tmpl/mse-scribe-post-install.sh View File

@@ -3,7 +3,7 @@
3 3
 cd /var/www/html/mse
4 4
 
5 5
 # Dépendences Deb
6
-declare -a deps=("php5-intl" "libssh2-php")
6
+declare -a deps=("php5.6-intl" "libssh2-php")
7 7
 
8 8
 for i in "${deps[@]}"
9 9
 do