PHP(imagecreate) in Ubuntu - The image cannot be displayed because it contains errors.
Channel:
Subscribers:
4,970
Published on ● Video Link: https://www.youtube.com/watch?v=D6QY-McvuRM
The image cannot be displayed because it contains errors.
---
I'm trying to create a image (PNG) with PHP. But, get this error..
I searching how to fix in google, and finally get the solution ..
Just install PHP GD module .. GD is Graphic Draw .. So, to create image with PHP, you must using GD module ..
--- how to install GD --
sudo apt-get install php-gd
then restart your apache with :
sudo service apache2 restart
Other Videos By Ambar Hasbiyatmoko
Tags:
image
error
create
php
png
gd
graphic
browser
ubuntu
linux
script
apache
imagecreate
module
display