Проблема с php53-gd

И всё прочее, что касается HTML
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
bigjack
проходил мимо

Проблема с php53-gd

Непрочитанное сообщение bigjack » 2013-11-22 0:11:03

при добавление картинки на сайт происходит её ресайз средствами php-gd, на хостинге картинки добавлялись нормально.
на своей инсталяции они становятся вот такими Изображение, где копать??? косяк косается файлов *.jpg и *.png...

еже че

Код: Выделить всё

FreeBSD ***.ru 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
и пакеты
  • GeoIP-1.4.8_3 Find the country that any IP address or hostname originates
    ap22-mod_perl2-2.0.8,3 Embeds a Perl interpreter in the Apache2 server
    apache22-2.2.25_1 Version 2.2.x of Apache web server with prefork MPM.
    apr-1.4.8.1.5.2 Apache Portability Library
    aspell-0.60.6.1_3 Spelling checker with better suggestion logic than ispell
    atk-2.8.0 GNOME accessibility toolkit (ATK)
    autoconf-2.69 Automatically configure source code on many Un*x platforms
    autoconf-wrapper-20130530 Wrapper script for GNU autoconf
    bigreqsproto-1.1.2 BigReqs extension headers
    bison-2.7.1,1 A parser generator from FSF, (mostly) compatible with Yacc
    ca_root_nss-3.15.2_1 The root certificate bundle from the Mozilla Project
    cclient-2007f,1 Mark Crispin's C-client mail access routines
    cmake-2.8.11.2 Cross-platform Makefile generator
    cmake-modules-2.8.11.2_1 Modules and Templates for CMake
    compositeproto-0.4.2 Composite extension headers
    cups-client-1.5.4_1 Common UNIX Printing System: Library cups
    curl-7.33.0_1 Non-interactive tool to get files from FTP, GOPHER, HTTP(S)
    damageproto-1.2.1 Damage extension headers
    db42-4.2.52_5 The Berkeley DB package, revision 4.2
    dialog4ports-0.1.5_2 Console Interface to configure ports
    eaccelerator-0.9.7 A free open-source PHP accelerator & optimizer
    encodings-1.0.4,1 X.Org Encoding fonts
    expat-2.1.0 XML 1.0 parser written in C
    fftw3-3.3.3_1 Fast C routines to compute the Discrete Fourier Transform
    fixesproto-5.0 Fixes extension headers
    font-util-1.3.0 Create an index of X font files in a directory
    fontsproto-2.1.2 Fonts extension headers
    freetype2-2.4.12_1 A free and portable TrueType font rendering engine
    fusefs-kmod-0.3.9.p1.20080208_11 Kernel module for fuse
    fusefs-libs-2.9.3_1 FUSE allows filesystem implementation in userspace
    gdbm-1.10 GNU database manager
    gettext-0.18.3.1 GNU gettext package
    giflib-nox11-4.2.3 Tools and library routines for working with GIF images
    glib-2.36.3 Some useful routines of C programming (current stable versi
    glpi-0.84.2,1 Free IT and asset management software
    gmake-3.82_1 GNU version of 'make' utility
    gmp-5.1.3 A free library for arbitrary precision arithmetic
    gnomehier-3.0 A utility port that creates the GNOME directory tree
    gnutls-2.12.23_2 GNU Transport Layer Security library
    gobject-introspection-1.36.0_2 Generate interface introspection data for GObject libraries
    graphite2-1.2.3 Rendering capabilities for complex non-Roman writing system
    gsfonts-8.11_6 Standard Fonts for Ghostscript
    help2man-1.43.3 Automatically generating simple manual pages from program o
    hicolor-icon-theme-0.12 A high-color icon theme shell from the FreeDesktop project
    icu-50.1.2 International Components for Unicode (from IBM)
    inputproto-2.3 Input extension headers
    intltool-0.50.2 Tools to internationalize various kinds of data files
    ipmitool-1.8.12_4 CLI to manage IPMI systems
    jpeg-8_4 IJG's jpeg compression utilities
    kbproto-1.0.6 KB extension headers
    libICE-1.0.8,1 Inter Client Exchange library for X11
    libSM-1.2.1,1 Session Management library for X11
    libX11-1.6.0,1 X11 library
    libXau-1.0.8 Authentication Protocol library for X11
    libXaw-1.0.11,2 X Athena Widgets library
    libXdmcp-1.1.1 X Display Manager Control Protocol library
    libXext-1.3.2,1 X11 Extension library
    libXmu-1.1.1,1 X Miscellaneous Utilities libraries
    libXp-1.0.2,1 X print library
    libXpm-3.5.10 X Pixmap library
    libXt-1.1.4,1 X Toolkit library
    libcheck-0.9.11 Unit test framework for C
    libcroco-0.6.8 CSS2 parsing library
    libexecinfo-1.1_3 A library for inspecting program's backtrace
    libffi-3.0.13 Foreign Function Interface
    libfontenc-1.1.2 The fontenc Library
    libfpx-1.3.1.3 Library routines for working with Flashpix images
    libgcrypt-1.5.3 General purpose crypto library based on code used in GnuPG
    libgpg-error-1.12 Common error values for all GnuPG components
    libiconv-1.14_1 A character set conversion library
    libidn-1.28_1 Internationalized Domain Names command line tool
    liblqr-1-0.4.1_5 An easy to use C/C++ seam carving library
    libltdl-2.4.2_2 System independent dlopen wrapper
    libmcrypt-2.5.8 Multi-cipher cryptographic library (used in PHP)
    libpaper-1.1.24_1 A library providing routines for paper size management
    libpthread-stubs-0.3_3 This library provides weak aliases for pthread functions
    libslang2-2.2.4_4 Routines for rapid alpha-numeric terminal applications deve
    libssh2-1.4.3_1,2 Library implementing the SSH2 protocol
    libtasn1-3.3 ASN.1 structure parser library
    libtool-2.4.2_2 Generic shared library support script
    libxcb-1.9.1 The X protocol C-language Binding (XCB) library
    libxml2-2.8.0_2 XML parser library for GNOME
    libxslt-1.1.28_1 The XSLT C library for GNOME
    libyaml-0.1.4_2 A YAML 1.1 parser and emitter written in C
    m4-1.4.17,1 GNU m4
    mc-4.8.10 Midnight Commander, a free Norton Commander Clone
    mysql55-client-5.5.34 Multithreaded SQL database (client)
    mysql55-server-5.5.34 Multithreaded SQL database (server)
    neon29-0.29.6_4 An HTTP and WebDAV client library for Unix systems
    nettle-2.7.1 Low-level cryptographic library
    oniguruma4-4.7.1 BSDL Regular Expressions library compatible with POSIX/GNU/
    p11-kit-0.20.1 Library for loading and enumerating of PKCS#11 modules
    p5-Apache-DBI-1.12 DBI persistent connection, authentication and authorization
    p5-Authen-NTLM-1.09 An NTLM authentication module
    p5-BSD-Resource-1.2907 Perl module to access BSD resource limit and priority funct
    p5-CGI.pm-3.63,1 Simple Common Gateway Interface Class for Perl
    p5-Class-Inspector-1.28 Provides information about classes
    p5-Compress-Raw-Zlib-2.063 Low-Level Interface to zlib compression library
    p5-Config-General-2.52 Perl5 module for handling Apache-style configuration files
    p5-Convert-BinHex-1.123 Perl module to extract data from Macintosh BinHex files
    p5-Crypt-SSLeay-0.64 Perl5 interface to allow p5-libwww LWP to make https connec
    p5-DBD-mysql-4.025 MySQL driver for the Perl5 Database Interface (DBI)
    p5-DBI-1.630 The perl5 Database Interface. Required for DBD::* modules
    p5-Digest-HMAC-1.03 Perl5 interface to HMAC Message-Digest Algorithms
    p5-Email-Date-Format-1.002 Produce RFC 2822 date strings
    p5-Encode-Locale-1.03 Determine the locale encoding
    p5-File-Listing-6.04 Parse directory listings
    p5-HTML-Parser-3.71 Perl5 module for parsing HTML documents
    p5-HTML-Tagset-3.20 Some useful data table in parsing HTML
    p5-HTTP-Cookies-6.01 HTTP Cookie jars
    p5-HTTP-Daemon-6.01 Simple HTTP server class
    p5-HTTP-Date-6.02 Conversion routines for the HTTP protocol date formats
    p5-HTTP-Message-6.06_2 Representation of HTTP style messages
    p5-HTTP-Negotiate-6.01 Implementation of the HTTP content negotiation algorithm
    p5-HTTP-Server-Simple-0.44 Simple standalone HTTP daemon
    p5-IO-HTML-1.00 Open an HTML file with automatic charset detection
    p5-IO-Socket-SSL-1.955 Perl5 interface to SSL sockets
    p5-IO-stringy-2.110 Perl5 module for using IO handles with non-file objects
    p5-LWP-MediaTypes-6.02 Guess media type for a file or a URL
    p5-LWP-Protocol-https-6.04 Provide https support for LWP::UserAgent
    p5-Locale-gettext-1.05_3 Message handling functions
    p5-MIME-Lite-3.03.0 Simple interface for creating (not parsing!) MIME messages
    p5-MIME-Tools-5.504,2 Set of perl5 modules for MIME
    p5-MIME-Types-2.04 Perl extension for determining MIME types
    p5-Mail-Tools-2.12 Perl5 modules for dealing with Internet e-mail messages
    p5-Mozilla-CA-20130114 Perl extension for Mozilla CA cert bundle in PEM format
    p5-Net-HTTP-6.06 Low-level HTTP client
    p5-Net-IP-1.26 Perl extension for manipulating IPv4/IPv6 addresses
    p5-Net-SSLeay-1.55 Perl5 interface to SSL
    p5-ParallelUA-2.57_2 Perl5 Parallel LWP User Agent for WWW access
    p5-SOAP-Lite-0.716 SOAP::Lite - Client and server side SOAP implementation
    p5-Task-Weaken-1.04 Ensure that a platform has weaken support
    p5-TimeDate-2.30_1,1 Perl5 module containing a better/faster date parser for abs
    p5-URI-1.60 Perl5 interface to Uniform Resource Identifier (URI) refere
    p5-WWW-RobotRules-6.02 Database of robots.txt-derived permissions
    p5-XML-Entities-1.0001 Generic classes for simplistic and perlish handling of XML
    p5-XML-NamespaceSupport-1.11 Simple generic namespace support class
    p5-XML-Parser-2.41_1 Perl extension interface to James Clark's XML parser, expat
    p5-XML-SAX-0.99_1 Simple API for XML
    p5-XML-SAX-Base-1.08 Base class SAX Drivers and Filters
    p5-XML-SAX-Expat-0.50 Simple API for XML
    p5-XML-Simple-2.20 Trivial API for reading and writing XML (esp config files)
    p5-libwww-6.05 Perl5 library for WWW access
    pcre-8.33 Perl Compatible Regular Expressions library
    pdflib-7.0.5_2 A C library for dynamically generating PDF
    pecl-APC-3.1.14_1 Alternative PHP Cache
    perl5-5.16.3_2 Practical Extraction and Report Language
    php53-5.3.27 PHP Scripting Language
    php53-bz2-5.3.27 The bz2 shared extension for php
    php53-calendar-5.3.27 The calendar shared extension for php
    php53-ctype-5.3.27 The ctype shared extension for php
    php53-curl-5.3.27_1 The curl shared extension for php
    php53-dba-5.3.27 The dba shared extension for php
    php53-dom-5.3.27 The dom shared extension for php
    php53-exif-5.3.27 The exif shared extension for php
    php53-fileinfo-5.3.27 The fileinfo shared extension for php
    php53-filter-5.3.27 The filter shared extension for php
    php53-ftp-5.3.27 The ftp shared extension for php
    php53-gd-5.3.27 The gd shared extension for php
    php53-gettext-5.3.27 The gettext shared extension for php
    php53-gmp-5.3.27 The gmp shared extension for php
    php53-hash-5.3.27 The hash shared extension for php
    php53-iconv-5.3.27 The iconv shared extension for php
    php53-imap-5.3.27 The imap shared extension for php
    php53-json-5.3.27 The json shared extension for php
    php53-mbstring-5.3.27 The mbstring shared extension for php
    php53-mcrypt-5.3.27 The mcrypt shared extension for php
    php53-mysql-5.3.27 The mysql shared extension for php
    php53-mysqli-5.3.27 The mysqli shared extension for php
    php53-openssl-5.3.27_1 The openssl shared extension for php
    php53-pcntl-5.3.27 The pcntl shared extension for php
    php53-pdo-5.3.27 The pdo shared extension for php
    php53-pdo_mysql-5.3.27 The pdo_mysql shared extension for php
    php53-pdo_sqlite-5.3.27 The pdo_sqlite shared extension for php
    php53-phar-5.3.27 The phar shared extension for php
    php53-posix-5.3.27 The posix shared extension for php
    php53-pspell-5.3.27 The pspell shared extension for php
    php53-session-5.3.27 The session shared extension for php
    php53-shmop-5.3.27 The shmop shared extension for php
    php53-simplexml-5.3.27 The simplexml shared extension for php
    php53-soap-5.3.27 The soap shared extension for php
    php53-sqlite-5.3.27 The sqlite shared extension for php
    php53-sqlite3-5.3.27 The sqlite3 shared extension for php
    php53-tokenizer-5.3.27 The tokenizer shared extension for php
    php53-wddx-5.3.27 The wddx shared extension for php
    php53-xml-5.3.27 The xml shared extension for php
    php53-xmlreader-5.3.27 The xmlreader shared extension for php
    php53-xmlrpc-5.3.27 The xmlrpc shared extension for php
    php53-xmlwriter-5.3.27 The xmlwriter shared extension for php
    php53-xsl-5.3.27 The xsl shared extension for php
    php53-zip-5.3.27 The zip shared extension for php
    php53-zlib-5.3.27 The zlib shared extension for php
    pixman-0.30.2 Low-level pixel manipulation library
    pkg_cleanup-1.1 Interactive program for deinstalling 'leaf' packages
    pkg_tree-1.1_2 Get a 'graphical' tree-overview of installed packages
    pkgconf-0.9.2_1 Utility to help to configure compiler and linker flags
    png-1.5.17 Library for manipulating PNG images
    printproto-1.0.5 Print extension headers
    proftpd-1.3.4d Highly configurable FTP daemon
    python-2.7_1,2 The "meta-port" for the default version of Python interpret
    python2-2_1 The "meta-port" for version 2 of the Python interpreter
    python27-2.7.5_3 Interpreted object-oriented programming language
    randrproto-1.4.0 Randr extension headers
    recode-3.6_9 Converts files between character sets and usages
    renderproto-0.11.1 RenderProto protocol headers
    ruby-1.9.3.448,1 An object-oriented interpreted scripting language
    ruby19-deplate-0.8.5 Ruby tool for converting wiki-like markup
    shared-mime-info-1.1 MIME types database from the freedesktop.org project
    sqlite3-3.8.0.2 SQL database engine in a C library
    svgalib-1.4.3_6 A low level console graphics library
    t1lib-5.1.2_2,1 Type 1 font rasterization library for Unix/X11
    tree-1.6.0 Display a tree-view of directories with optional color or H
    unzip-6.0_1 List, test, and extract compressed files in a ZIP archive
    xcb-proto-1.8 The X protocol C-language Binding (XCB) protocol
    xcmiscproto-1.2.2 XCMisc extension headers
    xextproto-7.2.1 XExt extension headers
    xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers
    xineramaproto-1.2.1 Xinerama extension headers
    xorg-macros-1.17.1 X.Org development aclocal macros
    xproto-7.0.24 X11 protocol headers
    xtrans-1.2.7 Abstract network code for X

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35152
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: Проблема с php53-gd

Непрочитанное сообщение Alex Keda » 2013-11-22 8:10:21

либу gd и все от неё зависмые пересобрать попробуйте
Убей их всех! Бог потом рассортирует...

bigjack
проходил мимо
Сообщения: 2
Зарегистрирован: 2013-11-22 8:36:49

Re: Проблема с php53-gd

Непрочитанное сообщение bigjack » 2013-11-22 8:38:36

да пересобирал уже... проблема только с файлами png и jpeg, gif нормально ресайзится

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35152
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: Проблема с php53-gd

Непрочитанное сообщение Alex Keda » 2013-11-22 8:42:40

соответствующие библиотеки пересоберите
ну и их завимости
Убей их всех! Бог потом рассортирует...

bigjack
проходил мимо
Сообщения: 2
Зарегистрирован: 2013-11-22 8:36:49

Re: Проблема с php53-gd

Непрочитанное сообщение bigjack » 2013-11-22 9:30:12

таки делал :(