{install php}
apt install php
{create a link between the folder public and your movies folder}
ln -s /home/$USER/Videos server/public
chmod +x run.sh
./run.sh
- The script will send a notification using the Simple Push Notifications API with a message indicating that the PHP server is ready, along with the server's IP address and port and the direct link to the web page so you can cast directly form your smartphone.
- The PHP server will start on the specified IP address and port.
Simple Push Notifications API feature Download for Android and iOS
Just install the apk on your android, and add your api into to the variable "api" in run.sh