@@ -0,0 +1 @@
+###How to install php 5 and 7 on same raspberry
@@ -0,0 +1,4 @@
+#!/bin/bash
+echo "deb https://packages.sury.org/php/ buster main" > /etc/apt/sources.list.d/php.list
+apt update
+apt install php5.6 php5.6-curl php5.6-cli php5.6-mysql php5.6-gd php5.6-mbstring php5.6-xml php5.6-sqlite3
@@ -0,0 +1,3 @@
+sudo apt-get install mariadb-server php7.4-mysql php7.4-zip php7.4-curl php7.4-xml*
+
@@ -0,0 +1,8 @@
+ </Directory>
+ <FilesMatch \.php$>
+ # For Apache version 2.4.10 and above, use SetHandler to run PHP as a fastCGI process server
+ SetHandler "proxy:unix:/run/php/php5.6-fpm.sock|fcgi://localhost"
+ </FilesMatch>
+</VirtualHost>