Discover Centmin Mod today
Register Now

PHP-FPM Update OS and restart php-fpm

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Floren, Sep 1, 2014.

Tags:
  1. rdan

    rdan Well-Known Member

    4,545
    1,088
    113
    May 25, 2014
    Ratings:
    +1,588
    Local Time:
    9:07 PM
    Mainline
    10.2
    But the 2 gallery addon requires Imagick to be able to rotate an image and other image manipulation.
     
  2. eva2000

    eva2000 Administrator Staff Member

    40,186
    8,884
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,693
    Local Time:
    11:07 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    just the way I roll :D

    it's nearly 3 am here, so off to bed - will catch ya later :)
     
    • Like Like x 2
  3. Floren

    Floren Active Member

    148
    77
    28
    Jun 6, 2014
    Ratings:
    +77
    Local Time:
    9:07 AM
    That is because the developer does not know/want to use the built-in GD options? XenForo devs use them without any issues to rotate the images with GD. Kier made a video about this.
     
  4. rdan

    rdan Well-Known Member

    4,545
    1,088
    113
    May 25, 2014
    Ratings:
    +1,588
    Local Time:
    9:07 PM
    Mainline
    10.2
    I hope @sonnb and @Chris D is here :D
     
  5. Floren

    Floren Active Member

    148
    77
    28
    Jun 6, 2014
    Ratings:
    +77
    Local Time:
    9:07 AM
    Instead of tagging them here, why not ask about it into their support forums? :)
     
    • Like Like x 1
  6. rdan

    rdan Well-Known Member

    4,545
    1,088
    113
    May 25, 2014
    Ratings:
    +1,588
    Local Time:
    9:07 PM
    Mainline
    10.2
  7. eva2000

    eva2000 Administrator Staff Member

    40,186
    8,884
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,693
    Local Time:
    11:07 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    had me rolling around in my bed - brain couldn't turn off until now :p

    A few reasons for imagemagick are for wider file formats support and faster efficient processing (less memory consumed) when it comes to large images it seems Imagick vs GD Interesting the comments mention a faster drop in replacement for imagemagick called graphicsmagick GraphicsMagick Image Processing System Never heard of it before but used by Flickr and Etsy

    Graphicsmagick FAQ graphicsmagick.org/FAQ.html

    Code:
    yum list graphicsmagick -q
    Available Packages
    GraphicsMagick.x86_64                                                            1.3.18-2.el6                                                             epel
    Gmagick for PHP PHP: Introduction - Manual

    gd_info_00.png
    imagick_320rc1_info_00.png

    Now I can sleep :sleep::sleep::sleep:
     
    Last edited: Sep 1, 2014
    • Like Like x 1
    • Informative Informative x 1
  8. Floren

    Floren Active Member

    148
    77
    28
    Jun 6, 2014
    Ratings:
    +77
    Local Time:
    9:07 AM
    No, don't go to bed! :D
    I looked at that software a while ago, PECL gmagick never made it to stable since their release in 2009. Not really reassuring, IMO.
     
  9. eva2000

    eva2000 Administrator Staff Member

    40,186
    8,884
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,693
    Local Time:
    11:07 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yeah well gmagick is in RC2 PECL :: Package :: gmagick nothing wrong with that even imagick is only in RC1. But I guess pointless if no PHP apps specifically use the gmagick itself.
     
  10. eva2000

    eva2000 Administrator Staff Member

    40,186
    8,884
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,693
    Local Time:
    11:07 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    well shared isn't needed as I do not intend to have every PHP extension needing an accompanying *.ini file to load the extension i.e. gd.ini file to load GD php extension. Remember Centmin Mod configuration is to cater to a much wider audience of users and with automation via scripting it is much easier not to have shared system which requires me to ensure the script manages and caters to every accompanying *.ini file.
     
    Last edited: Sep 2, 2014
    • Like Like x 1
  11. Floren

    Floren Active Member

    148
    77
    28
    Jun 6, 2014
    Ratings:
    +77
    Local Time:
    9:07 AM
    I only use stable versions, imagick does have a stable version.
    I see, I presume you deal with php.ini directly and add there all edits. Do you have a /etc/php.d equivalent? If you do, you should remove it because you don't use any shared libs. It eliminates confusion.
     
  12. eva2000

    eva2000 Administrator Staff Member

    40,186
    8,884
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,693
    Local Time:
    11:07 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    yeah I only do have .ini for the main source compiled PHP extensions that require them

    Code:
    php --ini
    Configuration File (php.ini) Path: /usr/local/lib
    Loaded Configuration File:         /usr/local/lib/php.ini
    Scan for additional .ini files in: /etc/centminmod/php.d
    Additional .ini files parsed:      /etc/centminmod/php.d/igbinary.ini,
    /etc/centminmod/php.d/imagick.ini,
    /etc/centminmod/php.d/memcache.ini,
    /etc/centminmod/php.d/memcached.ini,
    /etc/centminmod/php.d/zendopcache.ini
     
  13. Floren

    Floren Active Member

    148
    77
    28
    Jun 6, 2014
    Ratings:
    +77
    Local Time:
    9:07 AM
    @eva2000, but then you go against your own logic... either use shared libs or don't.
    Make up your mind! :D Here is a suggestion, use them everywhere for proper PHP standards.
     
  14. eva2000

    eva2000 Administrator Staff Member

    40,186
    8,884
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,693
    Local Time:
    11:07 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    not really, i said I don't need it for every PHP extension, only ones that are source compiled separately themselves like php opcode cachers, memcache/memcached, igbinary extensions and most of them have a bunch of config options which warrant a separate .ini (besides just a line to load the extension) :)
     
..