Join the community today
Become a Member

PHP-FPM Fileinfo PHP extension

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, Apr 8, 2016.

  1. pamamolf

    pamamolf Well-Known Member

    2,724
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    7:45 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

    I am trying to install the expressionengine:

    ExpressionEngine / EllisLab

    But it needs the Fileinfo PHP extension and is not compiled/enabled on default Centminmod installation....

    How can i compile/enabe it on my Centminmod setup?

    Thank you
     
    Last edited: Apr 8, 2016
  2. RoldanLT

    RoldanLT Well-Known Member

    3,901
    949
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,298
    Local Time:
    12:45 PM
    1.11
    10.2
    On persistent config:
    PHPFINFO=y # Disable or Enable PHP File Info extension
     
    • Informative Informative x 2
  3. eva2000

    eva2000 Administrator Staff Member

    30,170
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    2:45 PM
    Nginx 1.13.x
    MariaDB 5.5
    Yup

    set in persistent config /etc/centminmod/custom_config.inc
    Code (Text):
    PHPFINFO='y'
    

    then run centmin.sh menu option 5 to recompile PHP
     
    Last edited: Apr 8, 2016
  4. pamamolf

    pamamolf Well-Known Member

    2,724
    243
    63
    May 31, 2014
    Ratings:
    +434
    Local Time:
    7:45 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Ok i add it and rebuild but when i run php -i to check i can see on build command the parameter --disable-fileinfo :(

    Ok i found the issue and fix it :)

    I had to add PHPFINFO and not PHPINFO :)
     
    Last edited: Apr 8, 2016
  5. eva2000

    eva2000 Administrator Staff Member

    30,170
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    2:45 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Informative Informative x 1
  6. SFLC

    SFLC Active Member

    224
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    6:45 AM
    1
    10
    I tried this on the latest beta release and centmin hangs after when its run, so i cant even get to option 5. Is the procedure different now?
     
  7. SFLC

    SFLC Active Member

    224
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    6:45 AM
    1
    10
    nevermind, i didnt have the ' ' around the y, epic fail on my part
     
  8. eva2000

    eva2000 Administrator Staff Member

    30,170
    6,785
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,138
    Local Time:
    2:45 PM
    Nginx 1.13.x
    MariaDB 5.5
    what were you exact steps ?

    ah ha ! though that shouldn't cause it to hang