Hello!
Having spent hours trying to install ffmpeg-php on Almalinux 8.8 .
php running in FPM 7.4.3, with zend opcache
php-gd php-devel are installed
ffmpeg is installed:
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
I followed methods found on Google to install the php one, but always failing with an error in the make process.
[ffmpeg_movie.lo] Error 1 when compiling ffmpeg-php
A few sites recommend, so, to change some lines in ffmpeg_movie.c
#row 311: list_entry *le; to zend_rsrc_list_entry *le;
#row 346: list_entry new_le; to zend_rsrc_list_entry new_le;
#row 360: hashkey_length+1, (void *)&new_le, sizeof(list_entry), to hashkey_length+1, (void *)&new_le,sizeof(zend_rsrc_list_entry),
But it doesn’t work
Any suggestion? Thank you!