Page 1 of 2
Stuck at Installation Step 2
Posted: Fri Oct 07, 2016 12:09 am
by New2lms
Hello,
Can someone please tell me the Mime Type name and Extension I must create within cpanel to get past Step 2 of the Installation process?
Thank you
Re: Stuck at Installation Step 2
Posted: Fri Oct 07, 2016 7:45 am
by max
I would say the ones related to the extensions you will use on your LMS
pdf,doc,zip,jpg,png,xls,xlsx,docx,pptx,ppt,txt,csv,avi,mov,mp4.....
You can find a (complete) list here, I just googled it...
https://www.sitepoint.com/web-foundatio ... lete-list/
Please note that on most servers the mime types should already be configured.
Re: Stuck at Installation Step 2
Posted: Fri Oct 07, 2016 7:45 am
by max
Ah, and - btw - welcome on board!
Re: Stuck at Installation Step 2
Posted: Fri Oct 07, 2016 8:20 am
by canelli
Hi New2Lms
you must enable the php extension "fileinfo"
Re: Stuck at Installation Step 2
Posted: Sun Oct 16, 2016 10:14 pm
by hamiltonwm3
This whole thing with mime_content_type() support: OFF seems more like the a quest for the Holy Grail, Hobbit or Harry Potter Adventure. In Godaddy cpanel, WHM and SSH I cannot find this Holy Grail. I've seen the magic file and LDAP (which I don't believe I need to complete installation) in WHM cpanel Apache build and checked it, but after that no. I've checked to use the previously saved version of Easy Apache, but also named the last saved version. Guru, what is my next task on this noble quest?
I also don't see fileinfo either...
Can't I just copy the php.ini file into the root directory, add a few lines of something, reboot the Apache Server and fly to the next task? PHP 5.6.23
Re: Stuck at Installation Step 2
Posted: Mon Oct 17, 2016 8:15 am
by alberto
Hi hamiltonwm3, welcome in the community!
To enable the fileinfo extension you must access your server php configuration (php.ini). Usually providers don't allow direct access to this configuration, ask your provider to enable it.
For your local install try this tutorial:
https://community.xibo.org.uk/t/how-do- ... -in-php/78
Re: Stuck at Installation Step 2
Posted: Mon Oct 17, 2016 9:35 am
by hamiltonwm3
copied the php.ini file to my root and changed the name to take a look it, don't see fileinfo? Also browsed phpinfo.php and found this in the configure command --disable-fileinfo How come I'm not seeing this? Is there a config file somewhere? I SSH'd to the usr/local/lib directory where phpinfo.[h[ said my php.ini file was and tried to vi edit but it was all blue -- read only? I guess I could rename the php.ini file in my root directory back to php.ini and add the fileinfo in that file? I'm getting there, but slowly on this quest for the Holy Grail
Re: Stuck at Installation Step 2
Posted: Mon Oct 17, 2016 9:58 am
by hamiltonwm3
You running Easy Apache 4 vice 3 might make these available to me?
Re: Stuck at Installation Step 2
Posted: Mon Oct 17, 2016 4:19 pm
by hamiltonwm3
I have now passed into the relm of the fileinfo and now passing through the /etc/my.cnf read only file. I cannot override, chmod. I am logged in as root in ssh Or at least the user name designated as root or should it be 'root' actual?
Re: Stuck at Installation Step 2
Posted: Mon Oct 17, 2016 5:08 pm
by hamiltonwm3
got all the way through su - and root alternate to sql_mode=”NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION” in both /etc and /usr and MySQL Server restart--- errors, rollback changes and start again to the beginning of the task for the MySQL strict mode comment while installing Forma