Learn about Centmin Mod LEMP Stack today
Register Now

PHP-FPM Fileinfo PHP extension

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

  1. pamamolf

    pamamolf Well-Known Member

    3,108
    294
    83
    May 31, 2014
    Ratings:
    +529
    Local Time:
    6:29 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. rdan

    rdan Premium Member Premium Member

    4,228
    1,029
    113
    May 25, 2014
    Ratings:
    +1,470
    Local Time:
    11:29 AM
    Mainline
    10.2
    On persistent config:
    PHPFINFO=y # Disable or Enable PHP File Info extension
     
    • Informative Informative x 2
  3. eva2000

    eva2000 Administrator Staff Member

    35,102
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    1:29 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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

    3,108
    294
    83
    May 31, 2014
    Ratings:
    +529
    Local Time:
    6:29 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

    35,102
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    1:29 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    • Informative Informative x 1
  6. SFLC

    SFLC Active Member

    224
    59
    28
    Dec 4, 2016
    The Canadas
    Ratings:
    +112
    Local Time:
    5:29 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:
    5:29 AM
    1
    10
    nevermind, i didnt have the ' ' around the y, epic fail on my part
     
  8. eva2000

    eva2000 Administrator Staff Member

    35,102
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    1:29 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    what were you exact steps ?

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