I am using php 7.2 and on Step 2 I see next step button disabled, please check the attached screenshot.
Installation Error
Re: Installation Error
Forma needs PHP < 7.1, better if < 7.0.11
Per supporto GRATUITO contattatemi in privato qui
Re: Installation Error
Ohh I have existing server with other softwares installed, any other way or workaround?
Re: Installation Error
You could try to bypass the control (can't say how many things in Forma will stop working, as my versions are deeply changed and now compatibles with 7.3).
To do this, find the following in /install/controllers/Step2Controller.php:
$res['php']=((version_compare(PHP_VERSION, '5.2.0', '>=') && version_compare(PHP_VERSION, '7.0.11', '<')) ? 'ok' :
((version_compare(PHP_VERSION, '7.0.11', '>=') && version_compare(PHP_VERSION, '7.1.0', '<')) ? 'warn' : 'err' ));
and change it to:
$res['php']='ok';
To do this, find the following in /install/controllers/Step2Controller.php:
$res['php']=((version_compare(PHP_VERSION, '5.2.0', '>=') && version_compare(PHP_VERSION, '7.0.11', '<')) ? 'ok' :
((version_compare(PHP_VERSION, '7.0.11', '>=') && version_compare(PHP_VERSION, '7.1.0', '<')) ? 'warn' : 'err' ));
and change it to:
$res['php']='ok';
Per supporto GRATUITO contattatemi in privato qui
Re: Installation Error
We managed this by adding the following line into the .htaccess file:
AddHandler application/x-httpd-php56 .php
I do not know if it will work under all PHP installations.
By the way, once FormaLMS is installed, switching back to PHP 7+ is possible.
AddHandler application/x-httpd-php56 .php
I do not know if it will work under all PHP installations.
By the way, once FormaLMS is installed, switching back to PHP 7+ is possible.
-
- Newbie
- Posts: 1
- Joined: Wed Nov 11, 2020 6:41 pm
Re: Installation Error
hello, I have downgraded my php to the recommended and still cannot go past step 2, ive tried every version since 5.x.x
Re: Installation Error
It can be a PHP setting or mySQL. You need to debug
Per supporto GRATUITO contattatemi in privato qui
Re: Installation Error
I tried to install in my local system but failed at step 2 with error Error: Could not connect to the database! Please, make sure the details are correct.
What should be done to overcome this error? or rather what are the procedures for setting up this software on local server?
---------------------
Are You Looking For The Best Recliners? Here Are Some Of The Greatest Recliners that are affordable, luxurious, and above all - Comfortable!
What should be done to overcome this error? or rather what are the procedures for setting up this software on local server?
---------------------
Are You Looking For The Best Recliners? Here Are Some Of The Greatest Recliners that are affordable, luxurious, and above all - Comfortable!