Sorry for my poor english First thanks for your well done job ! I just want to share my experience with centmin, if it can help anybody. I have a serveur with more then 32gb memories and raid hardware First time I have install centmin --> NO fileinfo module After that I have tried to upgrade PHP (using menu option 5) many times and modify centmin.sh PHPFINO and try to force the option fileinfo in the php_configure.inc --> No succsess PS --> The command in php_configure.inc "awk '/SwapTotal: / {print $2}' /proc/meminfo | head -n1" report 523kb of memories And finally, after hours, I found some config files in the cache srv-setup that overwrite allways my config with --disable-fileinfo After deleting srv-setup --> I have got my fileinfo module installed !!!
welcome @Buddycat to Centmin Mod Community Did you install centmin mod 123.08stable or 123.09beta01 ? When was centmin mod installed ? With regards to php fileinfo has since July 7th, 2016 improved detection for memory limits for php fileinfo support - see Install - Install Centmin Success but cant install composer | php | Centmin Mod Community and here (auto 1gb swap creation) You got fileinfo disabled as swap size was below 1023000 bytes Code (Text): if [[ "$CHECKLOWMEMPHP" = "1" && "$TOTALSWAPMEM" -lt '1023000' ]]; then FILEINFOOPT=" --disable-fileinfo" else FILEINFOOPT="" fi Did you create swap file yourself prior to Centmin Mod install ? looks like the check after this is a bug as it only takes into account swap size and not memory installed size - will fix that soon Code (Text): # let centmin.sh set PHPFINFO variable override the # low memory CHECKLOWMEMPHP variable check if [[ "$PHPFINFO" = 'n' ]]; then FILEINFOOPT=" --disable-fileinfo" elif [[ "$TOTALSWAPMEM" -lt '1023000' ]]; then FILEINFOOPT=" --disable-fileinfo" else FILEINFOOPT="" fi You also might want to try the 123.09beta01 build as it will be next stable release and well has alot of improvements if you check 2nd post change log at Beta Branch - Centmin Mod .09 beta branch Testing Threads you might want to participate in What are you using Centmin Mod for ? How did you find out about Centmin Mod ? What PHP Version do you use ? How much memory installed on server running Centmin Mod ? Fill out Centmin Mod 2016 Survey Threads & Info To Bookmark Threads to read, pages to bookmark and threads to watch/subscribe to get to know Centmin Mod would include: Getting Started Guide, FAQ and What's New and centmin.sh guide. How to Install Centmin Mod 1.2.3-eva2000.08 Stable - you'd want to bookmark or subscribe to this thread for updates to the code, bug fixes, security updates etc. How to upgrade Centmin Mod 1.2.3-eva2000.08+ stable How to troubleshoot initial installs (as well as find the log files for all software for troubleshooting). Centmin Mod Configuration Files Overview Centmin Mod + Youtube Resources - recently created to illustrate visually what Centmin Mod can do. Alot of the vidoes are to showcase Centmin Mod .08 betas features which eventually will become the next stable release. All things SSL https related at SSL - HTTPS as a Google ranking signal Centmin Mod Insights forum - delve deeper into Centmin Mod code if you want to tweak it or extend it yourself. Find out how PHP Opcode cachers like APC Cache, Zend Opcache and Xcache are configured and installed and how Memcached server is setup etc. Several ways to follow Centmin Mod code development and changes/commits via Github Commit forum or directly on Centmin Mod Github repository - 123.08stable branche For forums, also check threads in dedicated Forum Software Usage forums. Some Xenforo users including myself have posted out Nginx vhost configs at Xenforo - My Xenforo Nginx vhost configuration For Nginx Pagespeed check out the official site page for Centmin Mod's integration of ngx_pagespeed module. Also check out the prefix linked forum url Nginx, PHP-FPM & MariaDB MySQL | Centmin Mod Community easy way to jump into all threads and info related to ngx_pagespeed. In particular bookmark the Nginx PageSpeed Troubleshooting sticky thread as there is high chance you need to tweak your Nginx pagespeed.conf config file for your web apps and styles used. You can see an example of this forum's pagespeed.conf tweaked for Xenforo and my particular used Xenforo style/theme and some discussion of troubleshooting advertising and ngx_pagespeed. Nginx example configuration listing at centminmod.com/nginx_configure.html Premium Membership Centmin Mod Premium Membership Benefits - including access to custom tailored dbbackup.sh mysql database backup script and updates/improvements.
@Buddycat fixed in update for both stable and beta builds Beta Branch - revise PHPFINFO calculations for 123.09beta01 | Centmin Mod Community Upgrading Centmin Mod Code to Latest Version Getting Started Guide step 19 outlines also how to keep Centmin Mod code updated or how to switch version branches. Centmin Mod LEMP stack's script code is constantly updated for improvements, bug fixes and security fixes so keeping the Centmin Mod code up to date is important. With Centmin Mod 1.2.3-eva2000.08) (123.08stable) and higher releases, a newly added centmin.sh menu option 23 allows much easier code updates and version branch swicthing via Git backed environment you can setup. For full details read the following links: New centmin.sh menu option 23 updating Centmin Mod Upgrades Cronjob Auto Updating Centmin Mod Code Guide How to upgrade Centmin Mod + backing up customisations
Also to set PHPFINFO='y' use persistent config file create at /etc/centminmod/custom_config.inc and add Code (Text): PHPFINFO='y' This will override centmin.sh set value and persistent when you update centmin mod as outlined at Upgrade Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS