Как узнать если GD на моем хостинге бегет?

Как узнать если GD на моем хостинге бегет?

Создай в корне сайта файл check-gd.php

<?php
// Включим отображение ошибок, если вдруг что-то не так
ini_set('display_errors', 1);
error_reporting(E_ALL);

if (extension_loaded('gd')) {
    $info = gd_info();
    echo "GD включен<br>";
    echo "Версия: " . $info['GD Version'] . "<br>";
    echo "JPEG: " . ($info['JPEG Support'] ? 'Да' : 'Нет') . "<br>";
    echo "PNG: " . ($info['PNG Support'] ? 'Да' : 'Нет') . "<br>";
    echo "WebP: " . ($info['WebP Support'] ? 'Да' : 'Нет') . "<br>";
} else {
    echo "GD не установлен или отключен";
}
?>

Открой в браузере (свой домен) https://zaplata.ru/check-gd.php

guest
Закрыть меню
ZAPLATA.RU | Магазин готовых блогов Wordpress с автонаполнением
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.