Uncaught error call to undefined function imagecreatefrompng

Fix – Fatal error: Call to undefined function imagecreatefromjpeg. In this guide, we will show you how to fix the following PHP error: Fatal error: Call to undefined function imagecreatefromjpeg The fatal error above means that PHP’s GD library has not been installed or enabled. As a result, PHP is unable to find the […]

Содержание

  1. Fix – Fatal error: Call to undefined function imagecreatefromjpeg.
  2. Enabling the GD library on Ubuntu / Mint (Debian) servers.
  3. PHP 5.
  4. PHP 7.0
  5. PHP 7.1
  6. Installing GD for PHP 7.2
  7. PHP 7.3
  8. PHP 7.4
  9. PHP 8.
  10. Make sure that you restart your web server.
  11. Enabling PHP GD on Windows.
  12. PHP 8 & GD on Windows.
  13. Fix – Fatal error: Call to undefined function imagecreatefromjpeg.
  14. Enabling the GD library on Ubuntu / Mint (Debian) servers.
  15. PHP 5.
  16. PHP 7.0
  17. PHP 7.1
  18. Installing GD for PHP 7.2
  19. PHP 7.3
  20. PHP 7.4
  21. PHP 8.
  22. Make sure that you restart your web server.
  23. Enabling PHP GD on Windows.
  24. PHP 8 & GD on Windows.
  25. Solved – Call to undefined function imagecreatefromjpeg
  26. (01) Install libjpeg and freetype
  27. (02) Configure and compile php
  28. (03) Restart Apache
  29. call to undefined function imagecreatefrompng
  30. shtogrin
  31. shtogrin
  32. shtogrin
  33. tony2001
  34. tony2001
  35. shtogrin
  36. Как нанести текст на изображение с помощью PHP?

Fix – Fatal error: Call to undefined function imagecreatefromjpeg.

In this guide, we will show you how to fix the following PHP error:

Fatal error: Call to undefined function imagecreatefromjpeg

The fatal error above means that PHP’s GD library has not been installed or enabled. As a result, PHP is unable to find the function imagecreatefromjpeg.

Unfortunately, the GD library is not enabled by default.

As a result, you might run into fatal errors when you attempt to deploy image manipulation functions to a fresh PHP install. Other functions from the library, such as imagecreate and imagecreatefrompng, will also cause the exact same error.

Enabling the GD library on Ubuntu / Mint (Debian) servers.

If you’re running PHP on Ubuntu or Mint, then you can run one of the following commands.

Please note that you will need to know your PHP version before you attempt to run any of these.

PHP 5.

PHP 7.0

With PHP 7 and above, it gets a little trickier. This is because you must use the minor release number as well.

PHP 7.1

Installing GD for PHP 7.2

PHP 7.3

PHP 7.4

As you can see, with PHP 7, you have to specify the exact version that you are using.

PHP 8.

The same goes for PHP 8. For example, if you are using PHP 8.0, then you can use the following command.

For 8.1, you will need to use “php8.1-gd”, and so on.

Make sure that you restart your web server.

Once you have installed the library, make sure that you restart Apache or Nginx for the changes to take effect.

Enabling PHP GD on Windows.

On Windows, you will need to locate your php.ini file and uncomment the following line:

To uncomment the line above, simply remove the semi-colon from the beginning. Once that is done, save the file and then restart your web server.

PHP 8 & GD on Windows.

If you are using GD with PHP 8 on Windows, then you should be aware that the extension is now called php_gd.dll.

In other words, they have taken the “2” out of it.

Источник

Fix – Fatal error: Call to undefined function imagecreatefromjpeg.

In this guide, we will show you how to fix the following PHP error:

Fatal error: Call to undefined function imagecreatefromjpeg

The fatal error above means that PHP’s GD library has not been installed or enabled. As a result, PHP is unable to find the function imagecreatefromjpeg.

Unfortunately, the GD library is not enabled by default.

As a result, you might run into fatal errors when you attempt to deploy image manipulation functions to a fresh PHP install. Other functions from the library, such as imagecreate and imagecreatefrompng, will also cause the exact same error.

Enabling the GD library on Ubuntu / Mint (Debian) servers.

If you’re running PHP on Ubuntu or Mint, then you can run one of the following commands.

Please note that you will need to know your PHP version before you attempt to run any of these.

PHP 5.

PHP 7.0

With PHP 7 and above, it gets a little trickier. This is because you must use the minor release number as well.

PHP 7.1

Installing GD for PHP 7.2

PHP 7.3

PHP 7.4

As you can see, with PHP 7, you have to specify the exact version that you are using.

PHP 8.

The same goes for PHP 8. For example, if you are using PHP 8.0, then you can use the following command.

For 8.1, you will need to use “php8.1-gd”, and so on.

Make sure that you restart your web server.

Once you have installed the library, make sure that you restart Apache or Nginx for the changes to take effect.

Enabling PHP GD on Windows.

On Windows, you will need to locate your php.ini file and uncomment the following line:

To uncomment the line above, simply remove the semi-colon from the beginning. Once that is done, save the file and then restart your web server.

PHP 8 & GD on Windows.

If you are using GD with PHP 8 on Windows, then you should be aware that the extension is now called php_gd.dll.

In other words, they have taken the “2” out of it.

Источник

Solved – Call to undefined function imagecreatefromjpeg

Even if you are installed php with gd, error message ” undefined function imagecreatefromjpeg () ” may appear on php. specifically when installing fresh opencart web application you may definitely face this issue as I did. In Opencart installation process, installer itself checks whether gd is installed, but unfortunately not identify the other important packages such as libJPEG and libPNG are installed or not. Here is how I fixed the that error on Centos.

Error!

Fatal error: Call to undefined function imagecreatefromjpeg() in /../library/image.php on line 34

(01) Install libjpeg and freetype

Centos :-
yum install libjpeg-devel
yum install freetype-devel

For Ubuntu :-
apt-get install libjpeg-dev
apt-get install libfreetype6-dev

(02) Configure and compile php

make clean
make distclean

***you must clean the php before configuring*
When compile gd extension, use the flag –with-jpeg-dir and –with-freetype-dir

no need to define directory(DIR) location of each flag if you are installed libjpeg and freetype using yum commands, otherwise it may be need to set DIR
location of each.

example php configuration
./configure –with-gd –with-jpeg-dir –with-freetype-dir

(03) Restart Apache

below is the sample output of php info file after successful installation.

Источник

call to undefined function imagecreatefrompng

Google, Co.

Не поддерживаетя функция ImageCreateFromJpeg()

Не поддерживаетя функция:
Fatal error: Call to undefined function ImageCreateFromJpeg() in /var/www/User5/data/modules/catalog/admin/class.katalog.php on line 374
Идем далее:
C трудом, создавая пути /usr/local/jpeg-6b/bin & /usr/local/jpeg-6b/man компилирую
make
make install

Далее скачиваю и конфигурирую gd

вот такой вот неутешающий результат:

Support for PNG library: no
Support for JPEG library: no
Support for Freetype 2.x library: no
Support for Fontconfig library: no
Support for Xpm library: no
Support for pthreads: yes

не поддерживает jpeg, что делать?

shtogrin

Google, Co.

‘./configure’ ‘—with-apxs=/usr/local/apache/bin/apxs’ ‘—with-libxml-dir=/usr/local/libxml’ ‘—with-xsl=/usr/local/libxslt’ ‘—with-iconv=/usr/local/iconv’ ‘—enable-track-vars’ ‘—enable-mod_charset’ ‘—with-dom’ ‘—with-dom-xslt’ ‘—with-dom-exslt’ ‘—with-mysql=/usr/local/mysql’ ‘—prefix=/usr/local/php5’ ‘—with-jpeg-dir=/usr/local’

ошибка как была так и осталась
Fatal error: Call to undefined function ImageCreateFromJpeg() in /var/www/User5/data/modules/catalog/admin/class.katalog.php on line 374

Что посоветуете?
Спасибо

shtogrin

make clean
configure . —with-gd
make

в config.log найти jpeg и посмотреть что не нравиться

Google, Co.

при configure не может найти libjpeg, хотя как писал выше скачал ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz и просто установил в /usr/local/
./prefix=/usr/local
make
make install
все нормально прошло

потом
./configure —with-apxs=/usr/local/apache/bin/apxs —with-libxml-dir=/usr/local/libxml —with-xsl=/usr/local/libxslt —with-iconv=/usr/local/iconv —enable-track-vars —enable-mod_charset —with-dom —with-dom-xslt —with-dom-exslt —with-mysql=/usr/local/mysql —prefix=/usr/local/php5 —with-jpeg-dir=/usr/local/bin —with-gd

configure: error: libjpeg.(a|so) not found.

shtogrin

tony2001

TeaM PHPClub
Google, Co.

А нет libjpeg.so, вот что есть:

/usr/bin/install -c cjpeg /usr/local/jpeg-6b/bin/cjpeg
/usr/bin/install -c djpeg /usr/local/jpeg-6b/bin/djpeg
/usr/bin/install -c jpegtran /usr/local/jpeg-6b/bin/jpegtran
/usr/bin/install -c rdjpgcom /usr/local/jpeg-6b/bin/rdjpgcom
/usr/bin/install -c wrjpgcom /usr/local/jpeg-6b/bin/wrjpgcom
/usr/bin/install -c -m 644 ./cjpeg.1 /usr/local/jpeg-6b/man/man1/cjpeg.1
/usr/bin/install -c -m 644 ./djpeg.1 /usr/local/jpeg-6b/man/man1/djpeg.1
/usr/bin/install -c -m 644 ./jpegtran.1 /usr/local/jpeg-6b/man/man1/jpegtran.1
/usr/bin/install -c -m 644 ./rdjpgcom.1 /usr/local/jpeg-6b/man/man1/rdjpgcom.1
/usr/bin/install -c -m 644 ./wrjpgcom.1 /usr/local/jpeg-6b/man/man1/wrjpgcom.1

tony2001

TeaM PHPClub

shtogrin

Google, Co.

Скомпилировал jpeg-6b, получил libjpeg.a

Указываю:
hosting# ./configure —with-apxs=/usr/local/apache/bin/apxs —with-libxml-dir=/usr/local/libxml —with-xsl=/usr/local/libxslt —with-iconv=/usr/local/iconv —enable-track-vars —enable-mod_charset —with-dom —with-dom-xslt —with-dom-exslt —with-mysql=/usr/local/mysql —prefix=/usr/local/php5 —with-gd —with-jpeg-dir=/usr/local/jpeg-6b/lib

и все равно не видит
configure: error: libjpeg.(a|so) not found.

I’ve searched for this and the solutions provided in past questions are completely incomprehensible to me. Whenever I run functions like imagecreatefromjpeg , I get this:

Fatal error: Call to undefined function imagecreatefromjpeg() .

I’m working on a new install of PHP; my last installation never had this problem. I don’t get what’s going on.

[Thu Oct 18 19:34:27 2012] [warn] [client 77.120.***.**] mod_fcg >

Не установлен или не активен модуль PHP — session .

# php -m | grep session
session

Значит, php5-extension был собран с этим расширением.

Проверяем файл extensions.ini :

# cat extensions.ini | grep session
;extension=session.so

Расширение не активно. Убираем комметарий в виде ; и перезапускаем Apache:

По аналогии с этой проблемой решается и ошибка:

[Thu Oct 18 19:43:33 2012] [warn] [client 77.120.***.**] mod_fcgid: stderr: PHP Fatal error: Call to undefined function imagecreatefrompng() in /usr/local/www/users/***.php on line 95

Источник

Как нанести текст на изображение с помощью PHP?

PHP – многофункциональный язык программирования, и мы с вами не один раз в этом убеждались. Сегодня мы немножко поработаем с графикой, а именно – я научу вас наносить нужный вам текст на изображение с помощью этого языка.

Для начала приведу полный код скрипта, который хорошо прокомментирован:

А теперь я расскажу вам о некоторых его нюансах.

1. Переменная $font – обязательно (во избежание ошибок) должна содержать в себе ссылку на файл шрифта. Для примера в конце статьи прикреплен шрифт «Arial».

2. Переменная $pic. Здесь в зависимости от вашего формата изображения используете соответствующую функцию:

PNG – imagecreatefrompng;
JPG – imagecreatefromjpeg;
GIF – imagecreatefromgif.

3. Переменная $color – цвет шрифта в RGB-формате. Черный цвет – «0, 0, 0», белый – «255, 255, 255» и т.д.

4. Функция «imagepng». Здесь вы выбираете ту функцию, в формате которой хотите сохранить изображение:

PNG – imagepng;
JPG – imagejpeg;
GIF – imagegif.

Обратите внимание, что для того, чтобы не происходило перезаписи файлов, в качестве имени файла выступает временная метка Unix. Расширение файла вы прописываете сами в зависимости от выбранной функции сохранения.

Ну вот, вроде, и все, что вам нужно знать, остальные моменты помечены в коде.

Часть «./» означает что чтение и сохранение файлов осуществляется в той папке, где находится ваш скрипт.

Если возникли вопросы – задавайте их в комментариях.

Источник

Home / PHP error Call to undefined function ImageCreateFromPNG

If you get the following error message in PHP then it means you need to have the PHP GD extension installed. Obviously the /path/to/file.php will be the actual path and filename of the PHP script the error occured in, and the line number will be the actual line.

Fatal error: Call to undefined function ImageCreateFromPNG() 
  in /path/to/file.php on line 379

You’ll also get this error message using other functions such as ImageCreateFromJPEG() if the PHP GD library is not installed.

On CentOS, Red Hat’s Enterprise Linux and Fedora, you can easily add the PHP GD library from the command line using the command listed below, either as the root user or using sudo. You can also install it using the graphical software installation tools by searching for «php-gd» and installing from there.

yum install php-gd

After hitting <enter> the command will run and you’ll get output similar to the following:

Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for php-gd to pack into transaction set.
php-gd-5.1.6-15.el5.i386. 100% |=========================|  17 kB    00:00
---> Package php-gd.i386 0:5.1.6-15.el5 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 php-gd                  i386       5.1.6-15.el5     base              111 k
Transaction Summary
=============================================================================
Install      1 Package(s)
Update       0 Package(s)
Remove       0 Package(s)
Total download size: 111 k
Is this ok [y/N]:

At this point you type in «Y» and hit <enter>. It will then install the PHP GD library.

Downloading Packages:
(1/1): php-gd-5.1.6-15.el 100% |=========================| 111 kB    00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing: php-gd                       ######################### [1/1]
Installed: php-gd.i386 0:5.1.6-15.el5
Complete

The installation is now complete. However, you still can’t use the GD functions until you have reloaded the Apache web server like so, using either sudo or running it as root:

/etc/init.d/httpd reload

Note that just doing a «reload» seems to work OK, it doesn’t have to be a full «restart».

This is how to install the PHP GD library from the command line using Fedora, CentOS or Red Hat’s Enterprise Linux and other Linux deritives. The process and package name will be similar using other Linux and BSD distros.

За последние 24 часа нас посетили 11595 программистов и 1179 роботов. Сейчас ищут 212 программистов …

Статус темы:

Закрыта.

Страница 1 из 2


  1. Starick

    Starick
    Активный пользователь

    С нами с:
    30 сен 2006
    Сообщения:
    12
    Симпатии:
    0

    Люди , че за фигня , хотел попользовать функцию «imagecreatefrompng()» , а мне в ответ такую фигню
    Fatal error: Call to undefined function: imagecreatefrompng() in wwwvcr.php on line 13

  2. Написано же: Call to undefined function.

    А за большие буквы удалять надо нафиг посты.

  3. Starick, если бы ты написал сообщение об ошибке нормальным шрифтом мы бы все равно его прочли. А если бы ты вынес его в заголовок темы, вместо бредового «heeeeelp!!!!» было бы еще круче.
    А если бы ты сначала воспользовался поиском то было бы намного легче и тебе и остальным.
    Если неопределена функция, значит не подключено расширение для нее. В твоем случае это расширение — gd2. По поводу как подключать расширения, сходи в поиск.


  4. Starick

    Starick
    Активный пользователь

    С нами с:
    30 сен 2006
    Сообщения:
    12
    Симпатии:
    0

    Если не можеш объяснить , как сделать что бы работало , так не раскрывай …


  5. Starick

    Starick
    Активный пользователь

    С нами с:
    30 сен 2006
    Сообщения:
    12
    Симпатии:
    0


  6. 440Hz

    Команда форума
    Модератор

    С нами с:
    21 дек 2012
    Сообщения:
    8.003
    Симпатии:
    1
    Адрес:
    Оттуда

    Starick

    старик. пиздеть будешь в другом месте. это раз …
    во вторых тебе сказали — поставь себе GD. если не знаешь как — укажи ОС под которой работаешь, вебсервер и версию пхп.


  7. Starick

    Starick
    Активный пользователь

    С нами с:
    30 сен 2006
    Сообщения:
    12
    Симпатии:
    0

    Дядя , а ты тут при чем , еслибы он нормально ответил , я бы промолчал.


  8. 440Hz

    Команда форума
    Модератор

    С нами с:
    21 дек 2012
    Сообщения:
    8.003
    Симпатии:
    1
    Адрес:
    Оттуда

    дядя тут просто так, пивка попить зашел …

    для начала, когда заходишь на новый для тебя форум, проявляй уважение и почтительность к тем, кто тебе отвечает. если для тебя не понятно сообщение об ошибке такого рода, то значит ты не просто новичек в PHP, а вообще еще никто, так что сделай всем ку и слушай что теюе дяди говорят.


  9. Starick

    Starick
    Активный пользователь

    С нами с:
    30 сен 2006
    Сообщения:
    12
    Симпатии:
    0

    А я и слушаю . А если на меня буксуют , а не объясняют , то почему я должен молчать ?


  10. 440Hz

    Команда форума
    Модератор

    С нами с:
    21 дек 2012
    Сообщения:
    8.003
    Симпатии:
    1
    Адрес:
    Оттуда

    потому, что новички молчат, пока не докажут что уже выросли. я имею в виду PHP. Может по жизни я тебе буду ку делать. Не вопрос, а тут будь любезен …

    в общем давай вернемся к вопросу. поставил себе GD2?


  11. Starick

    Starick
    Активный пользователь

    С нами с:
    30 сен 2006
    Сообщения:
    12
    Симпатии:
    0

    Ладно , проехали. Насчет GD2 : ищю поиском , пока глухо. У меня WXP, Апачь 2.2 и ПХП 4.4.4 , если можеш помоги.


  12. Anonymous

    Не найти GD2 поиском, это сильно…
    Она, если что, в стандартную поставку PHP входит.


  13. Anonymous

    Просто она по умолчанию не включена.
    Открой файлик php.ini, там найди строчку вроде

    и убери перед ней кавычку, сохрани php.ini, перезапусти Апач.


  14. Anonymous

    Апач перезапускал?
    проверь еще extension_dir в php.ini — что там написано?
    PS:
    Работу GD можно проверять так :

    1. <?PHP if(in_array(‘gd’,get_loaded_extensions())) {echo ‘Да, GD модуль пашет!!’; } else { echo ‘Увы.. Нет поддержки GD.’; }?>


  15. Starick

    Starick
    Активный пользователь

    С нами с:
    30 сен 2006
    Сообщения:
    12
    Симпатии:
    0

    extension_dir = C:php5ext

    ‘Увы.. Нет поддержки GD.’


  16. Anonymous

    1.попробуй написать c:/php5/ext (слеши другие)
    2.Посмотри, а в c:php5ext есть php_gd.dll ?


  17. mawa

    mawa
    Активный пользователь

    С нами с:
    23 сен 2008
    Сообщения:
    100
    Симпатии:
    0

    Подскажите в чем может быть ошибка :

    1. Warning: imagecreatefrompng(1-button.png) [function.imagecreatefrompng]: failed to open stream: No such file or directory in Z:homeavtowwwizobutton.php on line 4

    Модуль GD работает.XP SP2,denwer, PHP Version 5.2.4 .
    Заранее спасибо!


  18. 440Hz

    Команда форума
    Модератор

    С нами с:
    21 дек 2012
    Сообщения:
    8.003
    Симпатии:
    1
    Адрес:
    Оттуда

    тебе перевести, чудо ты дивное? или ты каждое сообщение об ошибке сюда будешь постить?


  19. mawa

    mawa
    Активный пользователь

    С нами с:
    23 сен 2008
    Сообщения:
    100
    Симпатии:
    0

    Нет такого файла или каталога!
    смотрю Вы только грубить можете, а нормальный ответ обычно дает кто-то другой! Да, я полный новичок, а Вы ГЕНИЙ!!!
    Я не знал что данный файл нужно было создавать!

Страница 1 из 2

Статус темы:

Закрыта.

-27 / 7 / 1

Регистрация: 19.07.2011

Сообщений: 627

1

14.08.2016, 01:31. Показов 2682. Ответов 16


помогите пожалуйста с настройками . использую надежный код вот отсюда http://php.net/manual/ru/function.imagecolorat.php но выдает ругань.

Миниатюры

PHP Fatal error: Call to undefined function imagecreatefrompng()
 

__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь



0



-27 / 7 / 1

Регистрация: 19.07.2011

Сообщений: 627

14.08.2016, 01:32

 [ТС]

2

денвер запущен использую дизайнер 8



0



43 / 44 / 35

Регистрация: 13.01.2016

Сообщений: 155

14.08.2016, 03:02

4

Проверь в php.ini библиотека php_gd2.dll подключена?!



0



-27 / 7 / 1

Регистрация: 19.07.2011

Сообщений: 627

14.08.2016, 06:41

 [ТС]

5

спс. я думал она стоит по умолчанию в пакете денвера.



0



-27 / 7 / 1

Регистрация: 19.07.2011

Сообщений: 627

14.08.2016, 07:17

 [ТС]

6

вот собственно..

Миниатюры

PHP Fatal error: Call to undefined function imagecreatefrompng()
 

PHP Fatal error: Call to undefined function imagecreatefrompng()
 



0



-27 / 7 / 1

Регистрация: 19.07.2011

Сообщений: 627

14.08.2016, 07:18

 [ТС]

7

чего ему ишо надо?



0



-27 / 7 / 1

Регистрация: 19.07.2011

Сообщений: 627

14.08.2016, 07:37

 [ТС]

8

прикольно..это правда? может снести денвер и поставить раритетную версию?

Миниатюры

PHP Fatal error: Call to undefined function imagecreatefrompng()
 



0



-27 / 7 / 1

Регистрация: 19.07.2011

Сообщений: 627

14.08.2016, 07:42

 [ТС]

9

скажите стоит ли устанавливать zlib если я использую PHP 5.3.13, MySQL 5.1, PostgreSQL 8.4 etc.???

Миниатюры

PHP Fatal error: Call to undefined function imagecreatefrompng()
 



0



-27 / 7 / 1

Регистрация: 19.07.2011

Сообщений: 627

14.08.2016, 08:16

 [ТС]

10

прописать точно надо.



0



-27 / 7 / 1

Регистрация: 19.07.2011

Сообщений: 627

14.08.2016, 08:19

 [ТС]

11

вот вопрос а куда сандалить
—with-jpeg-dir=DIR
—with-png-dir=DIR
—with-zlib-dir[=DIR]
в конце документа, вначале? или не имеет разницы?



0



-27 / 7 / 1

Регистрация: 19.07.2011

Сообщений: 627

14.08.2016, 08:23

 [ТС]

12

ну вотт..

Миниатюры

PHP Fatal error: Call to undefined function imagecreatefrompng()
 



0



-27 / 7 / 1

Регистрация: 19.07.2011

Сообщений: 627

14.08.2016, 08:23

 [ТС]

13

добавил называется.



0



Эксперт PHP

3102 / 2587 / 1219

Регистрация: 14.05.2014

Сообщений: 7,231

Записей в блоге: 1

14.08.2016, 11:33

14

Цитата
Сообщение от KotovichMX
Посмотреть сообщение

вот вопрос а куда сандалить

Это опции сборки при компиляции PHP из исходников. Никуда их уже пихать не нужно.



0



-27 / 7 / 1

Регистрация: 19.07.2011

Сообщений: 627

14.08.2016, 12:03

 [ТС]

15

тогда что делать?

Добавлено через 12 минут
»Если PHP скомпилирован с библиотекой GD 2.0 или выше….» — получается что у меня стоит денвер сырой? нужно скомпилировать?



0



-27 / 7 / 1

Регистрация: 19.07.2011

Сообщений: 627

20.08.2016, 14:06

 [ТС]

16

процедура запуска скрипта(php документа) для денвера следующая : поместить xxx.php в директорию zhometest1.ruwww и запускать вписывая в поисковую строку браузера http://test1.ru/xxx.php …. н-дааа низзя забывать делать старт денвер.

Миниатюры

PHP Fatal error: Call to undefined function imagecreatefrompng()
 



0



-27 / 7 / 1

Регистрация: 19.07.2011

Сообщений: 627

20.08.2016, 14:08

 [ТС]

17

вот как она подлая libGD работает..



0



Понравилась статья? Поделить с друзьями:
  • Uncaught error call to undefined function gregwar captcha imagecreatetruecolor
  • Uncaught error call to undefined function curl init
  • Uncaught error call to a member function includecomponent on null in
  • Uncaught error call to a member function gettvvalue on null in
  • Uncaught error bootstrap s javascript requires jquery