List of files and possible location

file:///var/www/omr/tmp
file:///var/www/omr/pdf-to-jpeg
file:///var/www/omr/omr.sql
file:///var/www/omr/index.php
file:///var/www/omr/BEST%20A4%208.3x11.7%20200x200.xcf
file:///var/www/omr/BEST%20A4%208.3x11.7%20200x200.jpg

file:///var/www/omr/tmp
Folder to save changed images after rotation
Check for permission to write, use chmod if required

file:///var/www/omr/pdf-to-jpeg
required if scanned as pdf
Script to change pdf to jpeg
install required commands.
store all pdf in "pdf" folder relative to script

file:///var/www/omr/omr.sql
create database "omr".
Import database from this file.

file:///var/www/omr/index.php
main and only file with PHP code

file:///var/www/omr/BEST%20A4%208.3x11.7%20200x200.xcf
GIMP format for print and use.
Keep A4 page. Rest of the details can be modified.

file:///var/www/omr/BEST%20A4%208.3x11.7%20200x200.jpg
JPG format saved from GIMP

deb packages for support file

root@debian:/var/cache/apt/archives# apt-file search pdftoppm
poppler-utils: /usr/bin/pdftoppm
poppler-utils: /usr/share/man/man1/pdftoppm.1.gz

root@debian:/var/cache/apt/archives# apt-file search ppmtojpeg
netpbm: /usr/bin/ppmtojpeg
netpbm: /usr/share/man/man1/ppmtojpeg.1.gz