Skip to content

Commit

Permalink
updated php5 to 7 to run with raspbian stretch
Browse files Browse the repository at this point in the history
  • Loading branch information
chootka committed Oct 29, 2017
1 parent e22f123 commit 690e039
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Binary file added .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_untracked/
8 changes: 4 additions & 4 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ esac
#

# update the packages
echo "Updating apt-get and installing iw, batctl, lighttpd, sqlite3 and php packages..."
apt-get update && apt-get install -y iw batctl lighttpd sqlite3 php5 php5-common php5-cgi php5-sqlite
lighty-enable-mod fastcgi
lighty-enable-mod fastcgi-php
echo "Updating apt-get and installing iw, batctl, lighttpd, sqlite3 and php7.0 packages..."
apt-get update && apt-get install -y iw batctl lighttpd sqlite3 php7.0 php7.0-common php7.0-cgi php7.0-sqlite3
lighttpd-enable-mod fastcgi
lighttpd-enable-mod fastcgi-php
service lighttpd force-reload
# Change the directory owner and group
chown www-data:www-data /var/www
Expand Down

0 comments on commit 690e039

Please sign in to comment.