Join the community today
Become a Member

Install fatal error: jemalloc/jemalloc.h: No such file or directory (During fresh install)

Discussion in 'Install & Upgrades or Pre-Install Questions' started by hnit, May 11, 2018.

  1. hnit

    hnit New Member

    22
    4
    3
    Apr 12, 2017
    Ratings:
    +4
    Local Time:
    2:40 AM
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit ?
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: bash: nginx: command not found
    • PHP Version Installed: bash: php: command not found
    • MariaDB MySQL Version Installed:
    • When was last time updated Centmin Mod code base ? : never
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc ? You can check via this command:

      cat /etc/centminmod/custom_config.inc


      Code:
      cat: /etc/centminmod/custom_config.inc: No such file or directory

    I got this while finishing my first install on a fresh node.

    Code:
    --------------------------------------------------------------------
    Setup Server Administration Email
    Emails will be used for future notification alert features
    --------------------------------------------------------------------
    Hit Enter To Skip...
    Will be prompted everytime run centmin.sh if both emails not entered
    --------------------------------------------------------------------
    enter primary email: xxxxx
    enter secondary email: xxxxx
    --------------------------------------------------------------------
    
    Primary: xxxxx
    setup at /etc/centminmod/email-primary.ini
    
      xxxxx
    
    Secondary: xxxxx
    setup at /etc/centminmod/email-secondary.ini
    
      xxxxx
    
    
    pure-ftpd: one time setup /etc/ssl/private/pure-ftpd-dhparams.pem file
    may take a while to create...
    pure-ftpd: /etc/ssl/private/pure-ftpd-dhparams.pem created
    
    
     One of the configured repositories failed (Unknown),
     and yum doesn't have enough cached data to continue. At this point the only
     safe thing yum can do is fail. There are a few ways to work "fix" this:
    
         1. Contact the upstream for the repository and get them to fix the problem.
    
         2. Reconfigure the baseurl/etc. for the repository, to point to a working
            upstream. This is most often useful if you are using a newer
            distribution release than is supported by the repository (and the
            packages for the previous distribution release still work).
    
         3. Run the command with the repository temporarily disabled
                yum --disablerepo=<repoid> ...
    
         4. Disable the repository permanently, so yum won't use it by default. Yum
            will then just ignore the repository until you permanently enable it
            again or use --enablerepo for temporary usage:
    
                yum-config-manager --disable <repoid>
            or
                subscription-manager repos --disable=<repoid>
    
         5. Configure the failing repository to be skipped, if it is unavailable.
            Note that yum will try to contact the repo. when it runs most commands,
            so will have to try and fail each time (and thus. yum will be be much
            slower). If it is a very temporary problem though, this is often a nice
            compromise:
    
                yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
    
    file is encrypted or is not a database
    
    real    0m20.324s
    user    0m0.227s
    sys     0m0.074s
    /root/tools/ex_stats_print.c:2:31: fatal error: jemalloc/jemalloc.h: No such file or directory
     #include <jemalloc/jemalloc.h>
                                   ^
    compilation terminated.
    
    
     One of the configured repositories failed (Unknown),
     and yum doesn't have enough cached data to continue. At this point the only
     safe thing yum can do is fail. There are a few ways to work "fix" this:
    
         1. Contact the upstream for the repository and get them to fix the problem.
    
         2. Reconfigure the baseurl/etc. for the repository, to point to a working
            upstream. This is most often useful if you are using a newer
            distribution release than is supported by the repository (and the
            packages for the previous distribution release still work).
    
         3. Run the command with the repository temporarily disabled
                yum --disablerepo=<repoid> ...
    
         4. Disable the repository permanently, so yum won't use it by default. Yum
            will then just ignore the repository until you permanently enable it
            again or use --enablerepo for temporary usage:
    
                yum-config-manager --disable <repoid>
            or
                subscription-manager repos --disable=<repoid>
    
         5. Configure the failing repository to be skipped, if it is unavailable.
            Note that yum will try to contact the repo. when it runs most commands,
            so will have to try and fail each time (and thus. yum will be be much
            slower). If it is a very temporary problem though, this is often a nice
            compromise:
    
                yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true
    
    file is encrypted or is not a database
    Nothing seems to be working after this.

    Any help would be appreciated
     
  2. eva2000

    eva2000 Administrator Staff Member

    34,253
    7,581
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,656
    Local Time:
    7:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    your server's network connectivity might be down itself so can't communicate with any external yum mirrors

    you can check with these commands, post output of these commands wrapped in CODE tags

    Code (Text):
    yum repolist all
    

    Code (Text):
    yum clean all
    yum repolist all
    

    Code (Text):
    ping -c4 google.com
    

    Code (Text):
    ping6 -c4 google.com
    

    Code (Text):
    cat /etc/resolv.conf
    

    for posting code or output from commands to keep the formatting, you might want to use CODE tags for code How to use forum BBCODE code tags :)
     
  3. hnit

    hnit New Member

    22
    4
    3
    Apr 12, 2017
    Ratings:
    +4
    Local Time:
    2:40 AM
    Thanks for the quick reply.
    I have done few things here and there because I don't have access to reinstall the server.

    So I did a lot of back and forth using option 4, 5, 21, 18, 23 multiple times.

    now I'm back to beta branch

    nginx version: nginx/1.13.12

    However PHP gives me some warnings.


    php -v
    Code:
    PHP Warning:  PHP Startup: Unable to load dynamic library 'geoip.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/geoip.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/geoip.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/geoip.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/geoip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library 'mailparse.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/mailparse.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/mailparse.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/mailparse.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/mailparse.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    PHP Warning:  PHP Startup: memcached: Unable to initialize module
    Module compiled with module API=20151012
    PHP    compiled with module API=20170718
    These options need to match
     in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library 'suhosin7.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/suhosin7.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/suhosin7.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/suhosin7.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/suhosin7.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    PHP 7.2.5 (cli) (built: May 11 2018 11:53:47) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    I'm using EC2 that my company is using and I asked them for a test server so I could play around for a bit.

    The problem is, The public IP doesn't load the default centminmod page telling it's successfully installed or not.

    Other than that this, can I somehow run a test to see all the errors possible?

    -----------

    yum repolist all

    Code:
    [12:11][[email protected] ~]# yum repolist all
    Loaded plugins: fastestmirror, priorities, versionlock
    Loading mirror speeds from cached hostfile
     * base: mirror.qoxy.com
     * epel: mirror.smartmedia.net.id
     * extras: mirror.qoxy.com
     * rpmforge: mirror.smartmedia.net.id
     * updates: mirror.qoxy.com
    277 packages excluded due to repository priority protections
    repo id                                                                                repo name                                                                                                                         status
    C7.0.1406-base/x86_64                                                                  CentOS-7.0.1406 - Base                                                                                                            disabled
    C7.0.1406-centosplus/x86_64                                                            CentOS-7.0.1406 - CentOSPlus                                                                                                      disabled
    C7.0.1406-extras/x86_64                                                                CentOS-7.0.1406 - Extras                                                                                                          disabled
    C7.0.1406-fasttrack/x86_64                                                             CentOS-7.0.1406 - CentOSPlus                                                                                                      disabled
    C7.0.1406-updates/x86_64                                                               CentOS-7.0.1406 - Updates                                                                                                         disabled
    C7.1.1503-base/x86_64                                                                  CentOS-7.1.1503 - Base                                                                                                            disabled
    C7.1.1503-centosplus/x86_64                                                            CentOS-7.1.1503 - CentOSPlus                                                                                                      disabled
    C7.1.1503-extras/x86_64                                                                CentOS-7.1.1503 - Extras                                                                                                          disabled
    C7.1.1503-fasttrack/x86_64                                                             CentOS-7.1.1503 - CentOSPlus                                                                                                      disabled
    C7.1.1503-updates/x86_64                                                               CentOS-7.1.1503 - Updates                                                                                                         disabled
    C7.2.1511-base/x86_64                                                                  CentOS-7.2.1511 - Base                                                                                                            disabled
    C7.2.1511-centosplus/x86_64                                                            CentOS-7.2.1511 - CentOSPlus                                                                                                      disabled
    C7.2.1511-extras/x86_64                                                                CentOS-7.2.1511 - Extras                                                                                                          disabled
    C7.2.1511-fasttrack/x86_64                                                             CentOS-7.2.1511 - CentOSPlus                                                                                                      disabled
    C7.2.1511-updates/x86_64                                                               CentOS-7.2.1511 - Updates                                                                                                         disabled
    C7.3.1611-base/x86_64                                                                  CentOS-7.3.1611 - Base                                                                                                            disabled
    C7.3.1611-centosplus/x86_64                                                            CentOS-7.3.1611 - CentOSPlus                                                                                                      disabled
    C7.3.1611-extras/x86_64                                                                CentOS-7.3.1611 - Extras                                                                                                          disabled
    C7.3.1611-fasttrack/x86_64                                                             CentOS-7.3.1611 - CentOSPlus                                                                                                      disabled
    C7.3.1611-updates/x86_64                                                               CentOS-7.3.1611 - Updates                                                                                                         disabled
    C7.4.1708-base/x86_64                                                                  CentOS-7.4.1708 - Base                                                                                                            disabled
    C7.4.1708-centosplus/x86_64                                                            CentOS-7.4.1708 - CentOSPlus                                                                                                      disabled
    C7.4.1708-extras/x86_64                                                                CentOS-7.4.1708 - Extras                                                                                                          disabled
    C7.4.1708-fasttrack/x86_64                                                             CentOS-7.4.1708 - CentOSPlus                                                                                                      disabled
    C7.4.1708-updates/x86_64                                                               CentOS-7.4.1708 - Updates                                                                                                         disabled
    base/7/x86_64                                                                          CentOS-7 - Base                                                                                                                   enabled: 7,658+2,253
    base-debuginfo/x86_64                                                                  CentOS-7 - Debuginfo                                                                                                              disabled
    base-source/7                                                                          CentOS-7 - Base Sources                                                                                                           disabled
    c7-media                                                                               CentOS-7 - Media                                                                                                                  disabled
    centos-sclo-rh/x86_64                                                                  CentOS-7 - SCLo rh                                                                                                                enabled:    6,818+94
    centos-sclo-rh-debuginfo/x86_64                                                        CentOS-7 - SCLo rh Debuginfo                                                                                                      disabled
    centos-sclo-rh-source                                                                  CentOS-7 - SCLo rh Sources                                                                                                        disabled
    centos-sclo-rh-testing/x86_64                                                          CentOS-7 - SCLo rh Testing                                                                                                        disabled
    centos-sclo-sclo/x86_64                                                                CentOS-7 - SCLo sclo                                                                                                              enabled:         515
    centos-sclo-sclo-debuginfo/x86_64                                                      CentOS-7 - SCLo sclo Debuginfo                                                                                                    disabled
    centos-sclo-sclo-source                                                                CentOS-7 - SCLo sclo Sources                                                                                                      disabled
    centos-sclo-sclo-testing/x86_64                                                        CentOS-7 - SCLo sclo Testing                                                                                                      disabled
    centosplus/7/x86_64                                                                    CentOS-7 - Plus                                                                                                                   disabled
    centosplus-source/7                                                                    CentOS-7 - Plus Sources                                                                                                           disabled
    cr/7/x86_64                                                                            CentOS-7 - cr                                                                                                                     disabled
    epel/x86_64                                                                            Extra Packages for Enterprise Linux 7 - x86_64                                                                                    enabled:  11,560+970
    epel-debuginfo/x86_64                                                                  Extra Packages for Enterprise Linux 7 - x86_64 - Debug                                                                            disabled
    epel-source/x86_64                                                                     Extra Packages for Enterprise Linux 7 - x86_64 - Source                                                                           disabled
    epel-testing/x86_64                                                                    Extra Packages for Enterprise Linux 7 - Testing - x86_64                                                                          disabled
    epel-testing-debuginfo/x86_64                                                          Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Debug                                                                  disabled
    epel-testing-source/x86_64                                                             Extra Packages for Enterprise Linux 7 - Testing - x86_64 - Source                                                                 disabled
    extras/7/x86_64                                                                        CentOS-7 - Extras                                                                                                                 enabled:         213
    extras-source/7                                                                        CentOS-7 - Extras Sources                                                                                                         disabled
    fasttrack/7/x86_64                                                                     CentOS-7 - fasttrack                                                                                                              disabled
    mariadb                                                                                MariaDB                                                                                                                           enabled:        44+2
    percona-experimental-noarch/7                                                          Percona-Experimental YUM repository - noarch                                                                                      disabled
    percona-experimental-source/7                                                          Percona-Experimental YUM repository - Source packages                                                                             disabled
    percona-experimental-x86_64/7/x86_64                                                   Percona-Experimental YUM repository - x86_64                                                                                      disabled
    percona-release-noarch/7                                                               Percona-Release YUM repository - noarch                                                                                           disabled
    percona-release-source/7                                                               Percona-Release YUM repository - Source packages                                                                                  disabled
    percona-release-x86_64/7/x86_64                                                        Percona-Release YUM repository - x86_64                                                                                           disabled
    percona-testing-noarch/7                                                               Percona-Testing YUM repository - noarch                                                                                           disabled
    percona-testing-source/7                                                               Percona-Testing YUM repository - Source packages                                                                                  disabled
    percona-testing-x86_64/7/x86_64                                                        Percona-Testing YUM repository - x86_64                                                                                           disabled
    remi                                                                                   Remi's RPM repository for Enterprise Linux 7 - x86_64                                                                             disabled
    remi-debuginfo/x86_64                                                                  Remi's RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                                 disabled
    remi-php54                                                                             Remi's PHP 5.4 RPM repository for Enterprise Linux 7 - x86_64                                                                     disabled
    remi-php55                                                                             Remi's PHP 5.5 RPM repository for Enterprise Linux 7 - x86_64                                                                     disabled
    remi-php55-debuginfo/x86_64                                                            Remi's PHP 5.5 RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                         disabled
    remi-php56                                                                             Remi's PHP 5.6 RPM repository for Enterprise Linux 7 - x86_64                                                                     disabled
    remi-php56-debuginfo/x86_64                                                            Remi's PHP 5.6 RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                         disabled
    remi-php70                                                                             Remi's PHP 7.0 RPM repository for Enterprise Linux 7 - x86_64                                                                     disabled
    remi-php70-debuginfo/x86_64                                                            Remi's PHP 7.0 RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                         disabled
    remi-php70-test                                                                        Remi's PHP 7.0 test RPM repository for Enterprise Linux 7 - x86_64                                                                disabled
    remi-php70-test-debuginfo/x86_64                                                       Remi's PHP 7.0 test RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                    disabled
    remi-php71                                                                             Remi's PHP 7.1 RPM repository for Enterprise Linux 7 - x86_64                                                                     disabled
    remi-php71-debuginfo/x86_64                                                            Remi's PHP 7.1 RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                         disabled
    remi-php71-test                                                                        Remi's PHP 7.1 test RPM repository for Enterprise Linux 7 - x86_64                                                                disabled
    remi-php71-test-debuginfo/x86_64                                                       Remi's PHP 7.1 test RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                    disabled
    remi-php72                                                                             Remi's PHP 7.2 RPM repository for Enterprise Linux 7 - x86_64                                                                     disabled
    remi-php72-debuginfo/x86_64                                                            Remi's PHP 7.2 RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                         disabled
    remi-php72-test                                                                        Remi's PHP 7.2 test RPM repository for Enterprise Linux 7 - x86_64                                                                disabled
    remi-php72-test-debuginfo/x86_64                                                       Remi's PHP 7.2 test RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                    disabled
    remi-safe                                                                              Safe Remi's RPM repository for Enterprise Linux 7 - x86_64                                                                        disabled
    remi-test                                                                              Remi's test RPM repository for Enterprise Linux 7 - x86_64                                                                        disabled
    remi-test-debuginfo/x86_64                                                             Remi's test RPM repository for Enterprise Linux 7 - x86_64 - debuginfo                                                            disabled
    rpmforge                                                                               RHEL 7 - RPMforge.net - dag                                                                                                       enabled:     135+110
    rpmforge-extras                                                                        RHEL 7 - RPMforge.net - extras                                                                                                    disabled
    rpmforge-testing                                                                       RHEL 7 - RPMforge.net - testing                                                                                                   disabled
    updates/7/x86_64                                                                       CentOS-7 - Updates                                                                                                                enabled:      111+32
    updates-source/7                                                                       CentOS-7 - Updates Sources                                                                                                        disabled
    !varnishcache_varnish41/x86_64                                                         varnishcache_varnish41                                                                                                            disabled
    !varnishcache_varnish41-source                                                         varnishcache_varnish41-source                                                                                                     disabled
    repolist: 27,054
    [12:11][[email protected] ~]#
    ping -c4 google.com
    Code:
    PING google.com (74.125.24.100) 56(84) bytes of data.
    64 bytes from 74.125.24.100 (74.125.24.100): icmp_seq=1 ttl=36 time=1.80 ms
    64 bytes from 74.125.24.100 (74.125.24.100): icmp_seq=2 ttl=36 time=1.91 ms
    64 bytes from 74.125.24.100 (74.125.24.100): icmp_seq=3 ttl=36 time=1.89 ms
    64 bytes from 74.125.24.100 (74.125.24.100): icmp_seq=4 ttl=36 time=1.85 ms
    ping6 -c4 google.com
    Code:
    PING google.com(2404:6800:4003:c03::66 (2404:6800:4003:c03::66)) 56 data bytes
    
    --- google.com ping statistics ---
    4 packets transmitted, 0 received, 100% packet loss, time 2999ms
    cat /etc/resolv.conf
    Code:
    ; Created by cloud-init on instance boot automatically, do not edit.
    ;
    ; generated by /usr/sbin/dhclient-script
    search ap-southeast-1.compute.internal
    nameserver 172.22.0.2
     
  4. hnit

    hnit New Member

    22
    4
    3
    Apr 12, 2017
    Ratings:
    +4
    Local Time:
    2:40 AM
    Update: tried adding a vhost and noticed these

    Code:
    autoprotect.sh run completed...
    
    Restarting nginx (via systemctl):  Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
    [FAILED]
    service nginx reload
    Reloading nginx configuration (via systemctl):  Job for nginx.service invalid.
    [FAILED]
    systemctl restart pure-ftpd.service
    and browser gives me

    Code:
    This page isn’t working
    my.website.com didn’t send any data.
    ERR_EMPTY_RESPONSE
    I cannot get a os reinstall
     
    Last edited: May 11, 2018
  5. eva2000

    eva2000 Administrator Staff Member

    34,253
    7,581
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,656
    Local Time:
    7:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    Amazon EC2 has it's own firewall via EC2 Security Groups Authorizing Inbound Traffic for Your Linux Instances - Amazon Elastic Compute Cloud. So you have to configure to allow port 80 and 443 etc. So you need to be familiar with setting up EC2 yourself first. If unfamiliar need to read their documentation otherwise use a different web host.

    • If you upgraded and you get some PHP warnings that some PHP extensions are unable to load, all you need to do is delete the relevant *.ini files for them and then reinstall if you require the PHP extension
    Example of error on restart PHP-FPM
    Code (Text):
    fpmrestart
    Gracefully shutting down php-fpm . done
    Starting php-fpm [06-Nov-2014 01:25:37] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20140815/geoip.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20140815/geoip.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [06-Nov-2014 01:25:37] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20140815/igbinary.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20140815/igbinary.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [06-Nov-2014 01:25:37] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20140815/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20140815/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [06-Nov-2014 01:25:37] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20140815/memcache.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20140815/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [06-Nov-2014 01:25:37] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20140815/memcached.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20140815/memcached.so: cannot open shared object file: No such file or directory in Unknown on line 0
    done
    

    find the paths to the *.ini files
    Code (Text):
    php --ini 2>/devnull
    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/curlcainfo.ini,
    /etc/centminmod/php.d/custom_php.ini,
    /etc/centminmod/php.d/geoip.ini,
    /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
    

    delete ones that are reported as unable to load so if geoip.so, igbinary.so, imagick.so, memcache.so and memcached.so are reported as unable to load, remove their respective *.ini files
    Code (Text):
    rm -rf /etc/centminmod/php.d/geoip.ini
    rm -rf /etc/centminmod/php.d/igbinary.ini
    rm -rf /etc/centminmod/php.d/imagick.ini
    rm -rf /etc/centminmod/php.d/memcache.ini
    rm -rf /etc/centminmod/php.d/memcached.ini
    

    then restart PHP-FPM again
    Code (Text):
    fpmrestart
    Gracefully shutting down php-fpm . done
    Starting php-fpm  done
    

    Code (Text):
    php -v
    PHP 7.0.0-dev (cli) (built: Nov  6 2014 00:54:07)
    Copyright (c) 1997-2014 The PHP Group
    Zend Engine v2.8.0-dev, Copyright (c) 1998-2014 Zend Technologies
        with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
    


    Manually reinstall PHP extension



    For reported PHP extensions that do not load, i.e. "PHP Startup: Unable to load dynamic" and references PHPEXTENSIONNAME.so, some can be installed again via centmin.sh menu. For instance menu options 7, 9, 10, 12, 15, 18, and 19.

    for 123.08stable
    Code (Text):
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.08
    --------------------------------------------------------
                       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). Add Wordpress Nginx vhost + WP Super Cache
    23). Exit
    --------------------------------------------------------
    Enter option [ 1 - 23 ]
    --------------------------------------------------------
    


    for 123.09beta01 - menu options 7, 9, 10, 12, 13 (for redis), 15, 18, and 19 are relevant menu options that can be used only if the specific PHP extension is reporting as unable to load
    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com 
    --------------------------------------------------------
    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.x Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ]
    


    Some extensions will not recompile unless a major PHP version change is detected this is to save time as minor PHP version do not require recompile of those extensions. So you may do one of 2 steps
    1. need you to go from PHP 7.2.5 to 7.1.17 then back to 7.2.5 if after deleting *.ini file outlined above and centmin.sh menu option 5 doesn't recompile them or you can set.
    2. or easier is before centmin.sh menu option 5 PHP recompile, set in persistent config file /etc/centminmod/custom_config.inc add variable AUTODETECPHP_OVERRIDE='y'
     
  6. hnit

    hnit New Member

    22
    4
    3
    Apr 12, 2017
    Ratings:
    +4
    Local Time:
    2:40 AM
..