Get the most out of your Centmin Mod LEMP stack
Become a Member

Install Image Magick and APC not getting installed?

Discussion in 'Install & Upgrades or Pre-Install Questions' started by SneakyDave, Oct 15, 2014.

  1. SneakyDave

    SneakyDave Member

    84
    14
    8
    Jul 24, 2014
    Ratings:
    +22
    Local Time:
    4:23 AM
    1.0.15
    For some reason, yum lists that ImageMagick is installed, but it isn't found on my phpinfo() page. Does centmindmod not install the PECL extension?

    Also, I've installed the APC cache option via centminmod, but I get this error message when starting php-fpm. Does APC interfere with Zend Optimizer setups?


    Code:
     Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/apc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
     done
    
     
  2. eva2000

    eva2000 Administrator Staff Member

    55,223
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    7:23 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    it should auto reinstall imagick PHP extension on PHP upgrades but if for some reason it doesn't just run centmin.sh menu option 15

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.07 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu                  
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2, 5.5, 10 Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Re-install ImageMagick PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Exit
    --------------------------------------------------------
    Enter option [ 1 - 22 ] 
    You can only install one of either Zend Opcache or APC Cache. If Zend Opcache is installed or selected to be installed it removes apc.ini load line so you would not get that error usually. If you for some reason didn't get APC installed, just run centmin.sh menu option 9 to install it :)
     
  3. SneakyDave

    SneakyDave Member

    84
    14
    8
    Jul 24, 2014
    Ratings:
    +22
    Local Time:
    4:23 AM
    1.0.15
    Aw, I'm so stupid, I thought there was an ImageMagick install on there, but I didn't see it.

    Yes, I reinstalled Zend Opcache, and that fixed the issue. Many thanks.
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,223
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    7:23 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yup centmin.sh menu option 12 should reinstall Zend Opcache if that is what you wanted :)