Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - r10077

Pages: [1]
1
PHP / Re: How to compile PHP with support for webp in gd?
« on: July 14, 2019, 06:05:53 PM »
This works for me.
As ed44rf write above,
1. install libwebp
2. edit PHP config build file /usr/local/cwpsrv/htdocs/resources/conf/php-fpm_selector/7.1.ini  or use any PHP version
3. Add this somewhere after [gd-...]

[gd-webp]
default="1"
option="--with-webp-dir=/usr --enable-gd-webp"
info-file="gd.txt"

4 rebuild php

Pages: [1]