You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To make the installation as simple as possible, we have created an installation script for you. It will setup your Raspberry Pi as a full blown Photobooth. This means, Photobooth is started in fullscreen on startup and the automatic camera mount is disabled. If you encounter any issues or want more freedom to configure your Pi, we recommend you look at the detailed installation instruction below.
To make the installation as simple as possible, we have created an installation script for you. It will setup your Raspberry Pi (using Apache Webserver) as a full blown Photobooth. This means, Photobooth is started in fullscreen on startup and the automatic camera mount is disabled. If you encounter any issues or want more freedom to configure your Pi, we recommend you look at the detailed installation instruction below.
Currently Apache and NGINX Webserver are supported.
NGINX has a smaller memory footprint and typically better performance, which is especially important on the Raspberry Pis, but it needs some additional steps until you're good to go.
#### Install Apache & PHP
```
sudo apt install -y libapache2-mod-php
```
#### or Install NGINX & PHP
```
sudo apt install -y nginx php-fpm
```
<details><summary><b>Additional needed steps for NGINX</b></summary>
Now we need to start the server with:
```
sudo /etc/init.d/nginx start
```
Once NGINX is installed we need to enable PHP in NGINX:
```
sudo nano /etc/nginx/sites-enabled/default
```
Find the line `index index.html index.htm;` and add `index.php` after `index` (the line now should look like this: `index index.php index.html index.htm;`).
Now scroll down until you find a section with the following content:
```
# pass the PHP scripts to FastCGI server
#
# location ~ \.php$ {
```
Edit by removing the `#` characters on the following lines: