Forma with PHP 5.4

Install and configure FormaLMS and DoceboCE
Post Reply
phatsaqs
FormaLms User
Posts: 40
Joined: Tue Jul 26, 2016 7:24 pm
Version: forma.lms 1.4.2

Forma with PHP 5.4

Post by phatsaqs »

Im trying to use Forma with PHP 5.4. During install I get the issue "mime_content_type() support: OFF".

How do I get around this?
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Forma with PHP 5.4

Post by max »

Hi,
it doesn't have anything to do with the php version, the system simply checks for the mime_content_type support and if it doesn't find it, it blocks the installation. Mime content support is essential to be able to upload files. You would get the same message with other php versions.

You don't have to get around, you have to allow the mime content support :-)

The issue is widely discussed on the forum, as well as some work arounds:
viewtopic.php?f=2&t=11899&p=14490&hilit=mime#p14490
viewtopic.php?f=2&t=12140&p=15637&hilit=mime#p15637
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
phatsaqs
FormaLms User
Posts: 40
Joined: Tue Jul 26, 2016 7:24 pm
Version: forma.lms 1.4.2

Re: Forma with PHP 5.4

Post by phatsaqs »

Well it works fine unless I switch my PHP version to version 5.4 in IIS. With 5.3 I dont have the mime_type issue but since its deprecated in 5.4 I need to take other steps which the Forma installation does not take into account.
User avatar
max
FormaLms Guru
Posts: 2735
Joined: Thu Mar 01, 2012 10:41 am
Version: forma.lms 2.4
Contact:

Re: Forma with PHP 5.4

Post by max »

Isn't the workaround described in one of the 2 links I posted useful?
---------------------
Massimiliano Ferrari
Elearnit - Elearning e Knowledge Management
https://www.elearnit.net
https://www.linkedin.com/in/massimilianoferrari
m.ferrari[at]elearnit.net
Skype: m_ferrari_it
Post Reply