web galéria írás proléma

Hello,

sikerüt beszereznem egy kis gépet ami kiváltja a windows webszerverem. felepítettem ubuntut rá, egy apache és egy php, gyakorlatilag ez a lényege kb.

a képgaléria (php) viszont kiáll hibára, amikor létre akarja hozni az előnézeti képeket. chmod 777 van neki adva, mi más lehet a proléma? más hibát nagyon nem tudok elképzelni, max hogy a webszervernek nincs jogosultsága hozzá? 

Hozzászólások

(update)

kipróbáltam egy másik web képgalériát, és ott is a thumb képekkel gond van, nem hozza létre őket.

Mi  a hiba? tail -f /var/log/apache2/error.log

A könyvárban ahová írni akarsz add ki: ls -la

root@srv1:/home/szilard# tail -f /var/log/apache2/error.log
sh: 1: ffmpeg: not found
[Sat May 28 11:33:10.673749 2022] [php:error] [pid 685] [client 192.168.1.77:50506] PHP Fatal error:  Uncaught Error: Call to undefined function imagecreatefromjpeg() in /var/www/html/index.php:579\nStack trace:\n#0 /var/www/html/index.php(734): image_create_from()\n#1 /var/www/html/index.php(1667): resize_image()\n#2 {main}\n  thrown in /var/www/html/index.php on line 579, referer: http://192.168.1.74/
sh: 1: ffmpeg: not found
sh: 1: ffmpeg: not found
[Sat May 28 11:38:01.723264 2022] [php:error] [pid 3406] [client 192.168.1.77:51140] PHP Fatal error:  Uncaught Error: Call to undefined function imagecreatefromjpeg() in /var/www/html/index.php:579\nStack trace:\n#0 /var/www/html/index.php(734): image_create_from()\n#1 /var/www/html/index.php(1667): resize_image()\n#2 {main}\n  thrown in /var/www/html/index.php on line 579, referer: http://192.168.1.74/
[Sat May 28 11:38:02.345145 2022] [php:error] [pid 684] [client 192.168.1.77:51141] PHP Fatal error:  Uncaught Error: Call to undefined function mb_detect_encoding() in /var/www/html/index.php:888\nStack trace:\n#0 /var/www/html/index.php(900): safe_iptc_tag()\n#1 /var/www/html/index.php(1088): get_iptc()\n#2 /var/www/html/index.php(824): get_files_data()\n#3 /var/www/html/index.php(1167): get_dir()\n#4 /var/www/html/index.php(1475): get_files()\n#5 {main}\n  thrown in /var/www/html/index.php on line 888, referer: http://192.168.1.74/
[Sat May 28 11:39:05.123220 2022] [php:error] [pid 2927] [client 192.168.1.77:51148] PHP Fatal error:  Uncaught Error: Call to undefined function mb_detect_encoding() in /var/www/html/index.php:888\nStack trace:\n#0 /var/www/html/index.php(900): safe_iptc_tag()\n#1 /var/www/html/index.php(1088): get_iptc()\n#2 /var/www/html/index.php(824): get_files_data()\n#3 /var/www/html/index.php(1167): get_dir()\n#4 /var/www/html/index.php(1475): get_files()\n#5 {main}\n  thrown in /var/www/html/index.php on line 888, referer: http://192.168.1.74/?dzsenifer_kreativ
[Sat May 28 11:39:07.154626 2022] [php:error] [pid 680] [client 192.168.1.77:51147] PHP Fatal error:  Uncaught Error: Call to undefined function mb_detect_encoding() in /var/www/html/index.php:888\nStack trace:\n#0 /var/www/html/index.php(900): safe_iptc_tag()\n#1 /var/www/html/index.php(1088): get_iptc()\n#2 /var/www/html/index.php(824): get_files_data()\n#3 /var/www/html/index.php(1167): get_dir()\n#4 /var/www/html/index.php(1475): get_files()\n#5 {main}\n  thrown in /var/www/html/index.php on line 888, referer: http://192.168.1.74/?dzsenifer_kreativ
[Sat May 28 11:39:13.175322 2022] [php:error] [pid 685] [client 192.168.1.77:51149] PHP Fatal error:  Uncaught Error: Call to undefined function imagecreatefromjpeg() in /var/www/html/index.php:579\nStack trace:\n#0 /var/www/html/index.php(734): image_create_from()\n#1 /var/www/html/index.php(1667): resize_image()\n#2 {main}\n  thrown in /var/www/html/index.php on line 579, referer: http://192.168.1.74/
[Sat May 28 11:39:14.271239 2022] [php:error] [pid 3407] [client 192.168.1.77:51150] PHP Fatal error:  Uncaught Error: Call to undefined function mb_detect_encoding() in /var/www/html/index.php:888\nStack trace:\n#0 /var/www/html/index.php(900): safe_iptc_tag()\n#1 /var/www/html/index.php(1088): get_iptc()\n#2 /var/www/html/index.php(824): get_files_data()\n#3 /var/www/html/index.php(1167): get_dir()\n#4 /var/www/html/index.php(1475): get_files()\n#5 {main}\n  thrown in /var/www/html/index.php on line 888, referer: http://192.168.1.74/