diff --git a/README.md b/README.md index ba8ae21..d58c47e 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ For the professionals out there, most of you will already know how to pixel cont ### Commands to install all the required packages: ``` -sudo apt update -y && sudo apt upgrade -y && sudo apt install python3 python3-pip git python3-flask apache2 php mariadb-server mariadb-client ola ola-python dnsmasq hostapd rfkill mosquitto mosquitto-clients python3-mysqldb netfilter-persistent -y && +sudo apt update -y && sudo apt upgrade -y && sudo apt install python3 python3-pip git python3-flask apache2 php mariadb-server mariadb-client ola ola-python dnsmasq hostapd rfkill mosquitto mosquitto-clients python3-mysqldb netfilter-persistent php-mysql -y && pip3 install Flask && pip3 install Requests && pip3 install python-artnet && diff --git a/server/web/index.php b/server/web/index.php index 9d176f9..449e720 100644 --- a/server/web/index.php +++ b/server/web/index.php @@ -21,34 +21,21 @@
+ connect_error) { + die("Connection failed: " . $conn->connect_error); + } + echo "Connected successfully"; + ?> + ?> - -