libwebp.so.6

dedd

New member
Joined
Oct 30, 2017
Messages
3
When i want to start php on a debian 12 machine I get


/usr/local/php74/sbin/php-fpm74: error while loading shared libraries: libwebp.so.6: cannot open shared object file: No such file or directory

I tried to find libwebp.so.6, not found
I installed libwebp again, bur it is up to date

Also upgrading to php 8.3 doesn't work
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make: *** [Makefile:1184: ext/fileinfo/libmagic/apprentice.lo] Error 1
install_php: failed to compile '/usr/local/directadmin/custombuild/cache/php-8.3.36.tar.gz' inside '/usr/local/directadmin/custombuild/tmp/tmp.IVqBKSEU6h.php-8.3.36.tar.gz'

Anyone any idea?
 
@dedd
Directadmin on 2GB memory server, requirement swap at least 4GB to ensure working without OOM Killer, I recommended to increase the memory to 4GB, so swap can leave it as 2gb


# Before continue to create the swap,
Code:
free -m
df -h
ensure you don't have swap and storage space have enough for swap


# Login as root and run the command
Code:
sudo fallocate -l 4G /swapfile && sudo chmod 600 /swapfile && sudo mkswap /swapfile && sudo swapon /swapfile && echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab
 
Back
Top