in Blog

Upload cover fails on OJS 3 and Centminmod

Quick note for handling upload cover fails on OJS 3 when using centminmod as stack.

1. Check if fileinfo php installed

php -m | grep fileinfo

no result, it means the extension not installed

2. Install fileinfo php extension

echo “PHPFINFO=’y'” >> /etc/centminmod/

3. Recompile php from centmin menu

4. Make sure load magicmime


mime_database_path = /etc/magic.mime


5. Restart