Want to subscribe to topics you're interested in?
Become a Member

PHP-FPM fileinfo extension not enabling

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Sos, Jun 28, 2019.

  1. Sos

    Sos New Member

    15
    2
    3
    Dec 4, 2018
    Ratings:
    +3
    Local Time:
    8:28 PM
    1.15.7
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: 1.17.1
    • PHP Version Installed: 7.3.6
    • MariaDB MySQL Version Installed: whatever is default
    • When was last time updated Centmin Mod code base ? : 6/27/19
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc ? You can check via this command:
      Code (Text):
      LETSENCRYPT_DETECT=y
      PHPINFO=y
      
    I have read all the posts on the forum regarding the FILEINFO PHP extension. I currently have swap enabled with 7.9 GB. I re-compiled PHP and still its not enabled. Here is a link to my upgrade PHP log.

     
    Last edited: Jun 28, 2019
  2. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:28 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Only a small porting of the php upgrade log is shared. Try posting to pastebin.com or gist.github.com

    but i think you have a typo for variable you're missing F between P and I
    Code (Text):
    PHPFINFO='y'
     
  3. Sos

    Sos New Member

    15
    2
    3
    Dec 4, 2018
    Ratings:
    +3
    Local Time:
    8:28 PM
    1.15.7
    Thank you for that info. Thought I copied and pasted that snipit of code. Fixed and recompiled and is now working.

    Thank you @eva2000

    P.S. Pastebin won't take such a huge paste unless your pro and I am not going to buy pro with one issue so far.
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    12:28 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Good to hear. Might look at seeing if i can reduce the size of the php_upgrade logs