Cara menggunakan install php gd debian

ketika saya mencoba menggunakan fungsi imagefromjpeg () di PHP, ia melempar error. Jadi, saya mencoba menginstal pustaka Gd menggunakan perintah berikut:

Sudo apt-get install php5-Gd

Tapi saya mendapat kesalahan berikut.

php5-Gd : Depends: php5-common (= 5.5.9+dfsg-1ubuntu4) but 5.5.10+dfsg-1+deb.sury.org~saucy+1 is to be installed E: Unable to correct problems, you have held broken packages.

Saya menggunakan Ubuntu 14.04LTS. Saya baru-baru ini meningkatkan OS saya dari ubuntu 13.10. Bagaimana cara mengatasi kesalahan ini?

Output dari dpkg -l|grep php adalah :

ii cakephp 1.3.15-1 all MVC rapid application development framework for PHP ii cakephp-scripts 1.3.15-1 all MVC rapid application development framework for PHP (scripts) ii libapache2-mod-php5 5.5.10+dfsg-1+deb.sury.org~saucy+1 AMD64 server-side, HTML-embedded scripting language (Apache 2 module) ii libedit2:AMD64 3.1-20130712-2+debphp.org~saucy+3 AMD64 BSD editline and history libraries ii libjson-c2:AMD64 0.11-3+debphp.org~saucy+1 AMD64 JSON manipulation library - shared library ii libjson-c2:i386 0.11-3+debphp.org~saucy+1 i386 JSON manipulation library - shared library ii libjson0:AMD64 0.11-3+debphp.org~saucy+1 AMD64 JSON manipulation library (transitional package) ii php-gettext 1.0.11-1 all read gettext MO files directly, without requiring anything other than PHP ii php-pear 5.5.10+dfsg-1+deb.sury.org~saucy+1 all PEAR - PHP Extension and Application Repository ii php5 5.5.10+dfsg-1+deb.sury.org~saucy+1 all server-side, HTML-embedded scripting language (metapackage) ii php5-cgi 5.5.10+dfsg-1+deb.sury.org~saucy+1 AMD64 server-side, HTML-embedded scripting language (CGI binary) ii php5-cli 5.5.10+dfsg-1+deb.sury.org~saucy+1 AMD64 command-line interpreter for the php5 scripting language ii php5-common 5.5.10+dfsg-1+deb.sury.org~saucy+1 AMD64 Common files for packages built from the php5 source ii php5-curl 5.5.10+dfsg-1+deb.sury.org~saucy+1 AMD64 CURL module for php5 ii php5-dev 5.5.10+dfsg-1+deb.sury.org~saucy+1 AMD64 Files for PHP5 module development rc php5-Gd 5.4.9-4ubuntu2.4 AMD64 Gd module for php5 ii php5-imagick 3.1.2-1+debphp.org~saucy+1 AMD64 ImageMagick module for php5 ii php5-json 1.3.2-3+debphp.org~saucy+1 AMD64 JSON module for php5 ii php5-mcrypt 5.5.10+dfsg-1+deb.sury.org~saucy+1 AMD64 MCrypt module for php5 rc php5-mysql 5.4.9-4ubuntu2.4 AMD64 MySQL module for php5 ii php5-mysqlnd 5.5.10+dfsg-1+deb.sury.org~saucy+1 AMD64 MySQL module for php5 (Native Driver) ii php5-pgsql 5.5.10+dfsg-1+deb.sury.org~saucy+1 AMD64 PostgreSQL module for php5 ii php5-readline 5.5.10+dfsg-1+deb.sury.org~saucy+1 AMD64 Readline module for php5 ii php5-xdebug 2.2.3-2build1 AMD64 Xdebug Module for PHP 5 ii phpmyadmin 4:4.0.10-1 all MySQL web administration tool ii pkg-php-tools 1.11 all various packaging tools and scripts for PHP packages

This is Slide 1

Same is shown of text, but you can use any html content imges, videos, etc inside this box

This is Slide 2

You can choose to have carousal or just a single html content

This is Slide 3

Carousal is a good way to show ads, to keep user engaged.

This is Slide 4

Okay

This is Slide 5

Enough, Done !

Postingan terbaru

LIHAT SEMUA