---
title: Why Is AVIF Not Working?
description: Troubleshoot AVIF compression not working on your server.
url: "https://lightsyncpro.com/docs/avif-not-working/"
updated: "2026-06-05"
category: Image Optimization
---

# Why Is AVIF Not Working?

## Requirements Check

AVIF requires:

- PHP 8.1 or higher
- GD library compiled with libavif

## How to Check

Ask your host or check phpinfo():

1. Create a file with ``
2. Look for "AVIF Support" under GD

## Solutions

- Upgrade PHP to 8.1+
- Ask your host to enable AVIF in GD
- Use a host that supports modern PHP (Cloudways, Kinsta, etc.)
