Browse Source

Increase minimum php version to reflect updated symfony requirements

pull/2225/head
Jamie Taylor 1 year ago
parent
commit
9b33371abf
No account linked to committer's email address
2 changed files with 13 additions and 13 deletions
  1. 1
    1
      README.md
  2. 12
    12
      bootstrap.sh

+ 1
- 1
README.md View File

@@ -8,7 +8,7 @@ The future face of osu!.
8 8
 Requirements
9 9
 ------------
10 10
 
11
-- A PHP 7.0 (or equivalent) environment
11
+- A PHP 7.1+ (or equivalent) environment
12 12
 - MySQL 5.7+
13 13
 
14 14
 For full support, we also recommend

+ 12
- 12
bootstrap.sh View File

@@ -26,16 +26,16 @@ apt-get install \
26 26
     mysql-community-server \
27 27
     nginx \
28 28
     nodejs \
29
-    php7.0-curl \
30
-    php7.0-fpm \
31
-    php7.0-gd \
32
-    php7.0-intl \
33
-    php7.0-json \
34
-    php7.0-mbstring \
35
-    php7.0-mcrypt \
36
-    php7.0-mysql \
37
-    php7.0-xml \
38
-    php7.0-zip \
29
+    php7.1-curl \
30
+    php7.1-fpm \
31
+    php7.1-gd \
32
+    php7.1-intl \
33
+    php7.1-json \
34
+    php7.1-mbstring \
35
+    php7.1-mcrypt \
36
+    php7.1-mysql \
37
+    php7.1-xml \
38
+    php7.1-zip \
39 39
     redis-server \
40 40
     tmux \
41 41
     vim \
@@ -44,7 +44,7 @@ apt-get install \
44 44
 
45 45
 npm install -g yarn
46 46
 
47
-update-rc.d php7.0-fpm defaults
47
+update-rc.d php7.1-fpm defaults
48 48
 
49 49
 rm /etc/nginx/sites-enabled/default
50 50
 ln -s /vagrant/conf/nginx-osu-next /etc/nginx/sites-available/nginx-osu-next
@@ -62,7 +62,7 @@ sed -i 's/bind-address/#bind-address/' /etc/mysql/my.cnf
62 62
 sed -i 's/sendfile on/sendfile off/' /etc/nginx/nginx.conf
63 63
 
64 64
 service mysql restart
65
-service php7.0-fpm restart
65
+service php7.1-fpm restart
66 66
 service nginx restart
67 67
 
68 68
 ./bin/db_setup.sh

Loading…
Cancel
Save