Skip to content

Commit 4e4dc43

Browse files
myungwoolw
authored andcommitted
Ubuntu 16.04 only supports php7.0
(cherry picked from commit 1cdd533)
1 parent 3ec2262 commit 4e4dc43

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

config/nginx.conf.sample

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This config requires the following Ubuntu packages to be installed:
2-
# nginx-full php5-cgi php5-fpm phppgadmin
2+
# nginx-full php7.0-cgi php7.0-fpm phppgadmin
33

44
user www-data;
55

@@ -83,7 +83,7 @@ http {
8383
ssl_certificate_key /etc/nginx/ssl/server.key;
8484

8585
# Serve phppgadmin on a prefix. This assumes that you have the
86-
# phppgadmin and php5-fpm packages properly installed and
86+
# phppgadmin and php7.0-fpm packages properly installed and
8787
# configured.
8888
location /phppgadmin/ {
8989
alias /usr/share/phppgadmin/;
@@ -104,7 +104,7 @@ http {
104104
try_files $uri $uri/ =404;
105105

106106
location ~ \.php$ {
107-
fastcgi_pass unix:/var/run/php5-fpm.sock;
107+
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
108108
fastcgi_index index.php;
109109
include fastcgi_params;
110110
}

docs/Installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ On Ubuntu 16.04, one will need to run the following script to satisfy all depend
6565
libffi-dev python-pip
6666

6767
# Optional
68-
sudo apt-get install nginx-full php7.0-cli php5-fpm phppgadmin \
68+
sudo apt-get install nginx-full php7.0-cli php7.0-fpm phppgadmin \
6969
texlive-latex-base a2ps gcj-jdk haskell-platform
7070

7171
Arch Linux

0 commit comments

Comments
 (0)