In general, for the second day I have been struggling with the pHash compilation, but it still does not go. With Linux as a whole, there are problems, but I seem to be doing everything according to the instructions; as a result, there were a lot of files, and a lot of files remain. There is no extension file that I can add to php.ini later.
Maybe someone used this library and someone left a ready-made file that you just need to connect, share, please. Well, or help compile this infection.
Only an extension is needed to obtain perceptual hash from the images, all other modules are not needed.
Update
Now Ubuntu. I don’t understand the developer at all, since the library is in open access, then why not just put the .dll file on the githab instead of the heap of files that need to be further compiled and compiled. :(