- Posts: 44
- Thank you received: 3
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Does LimeSurvey 1.91+ (Build 11379) work with PHP 7.0
- JEfromCanada
- Topic Author
- Offline
- Senior Member
I migrated to a new hosting platform that only allows a single version of PHP, and PHP 7 is required for most of my work. Now, I cannot even log in to the old survey.
I get the following error message:
"This script needs the PHP Multibyte String Functions library installed: See FAQ and PHP documentation"
Well, according to what I can see from my phpinfo() output, the mbstring library is compiled into my PHP 7.0.32 version (see attached screen grabs).
Can anyone see anything wrong with the PHP configuration? If limesurvey 1.91+ (Build 11379) does not run under PHP 7, what is the oldest version that will be supported? Will that version of LimeSurvey have a different database structure (I have a standalone PHP utility that scrapes the LimeSurvey database for specific information, and that utility is running under MySqli and PHP 7).
Thank you for any assistance.
Jack
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13935
- Thank you received: 2551
PHP7 didn't exist … in 2011, then NO !
Why you want to use such old tool … a lot of security issue
Else : for the older version : LimeSurvey 2.6lts still have some issue, you must use github.com/SondagesPro/LimeSurvey-SondagesPro or gitlab.com/Sondages.Pro/limesurvey26lts_improved (same code)
But again : WHY need to use such older version …
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
- JEfromCanada
- Topic Author
- Offline
- Senior Member
- Posts: 44
- Thank you received: 3
If I use the tools available in Limesurvey 1.91+ to export my survey data, can that be used to import my survey questions and answers into a newer version of LimeSurvey?
- tpartner
- Offline
- LimeSurvey Community Team
- Posts: 10634
- Thank you received: 3698
- manual.limesurvey.org/Exporting_a_survey...y_archive_.28.lsa.29
Not that the templates are not compatible so you will need to develop new ones in 3.x.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13935
- Thank you received: 2551
I don't think LSA exist in 1.91, i think it's between 2.05 and 2.06 (maybe).tpartner wrote: Yes, you can use the LSA export to migrate the survey structure and all data to the new LimeSurvey version.
- manual.limesurvey.org/Exporting_a_survey...y_archive_.28.lsa.29
…
@JEfromCanada : if it's «only» for testing and see difference : why not setup quicly your own apache instance on your computer ?
Else : all DB update are here : github.com/LimeSurvey/LimeSurvey/blob/ma.../updatedb_helper.php , look at your DB version (in DB, because i don't remind where it was in 1.91) and see operation step by step.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
- tpartner
- Offline
- LimeSurvey Community Team
- Posts: 10634
- Thank you received: 3698
In that case, I would suggest updating to 2.06 (which should be safe) and then export .lsa.DenisChenu wrote: I don't think LSA exist in 1.91, i think it's between 2.05 and 2.06 (maybe).
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
- jelo
- Offline
- Platinum Member
- Posts: 5070
- Thank you received: 1263
Why two different repositories? Isn't that more work and adding more confusion (e.g. where to submit issues or pull requests)? You are now the only 2.6 (former LTS) repositoryDenisChenu wrote: github.com/SondagesPro/LimeSurvey-SondagesPro or gitlab.com/Sondages.Pro/limesurvey26lts_improved (same code)
@JEfromCanada:
Why not use a PHP 5.6 hosting for now and start migrating to LS3/4 over the next months.
PHP 5.6. will vanish. But currently you still have the choice to use PHP 5.6.
Everybody is moving to PHP 7, cause it has many advantages. Hostingcompanies get for more performance out of the existing hardware and they get rid of many old web-application installations
You will need to migrate, but if you can justify running 1.9X in terms of security till now, you can go on for some time with PHP 5.6.
Starting to modify tools etc. for anything less than LS3/LS4 looks not vital for your project.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13935
- Thank you received: 2551
Because :jelo wrote:
Why two different repositories? Isn't that more work and adding more confusion (e.g. where to submit issues or pull requests)? You are now the only 2.6 (former LTS) repositoryDenisChenu wrote: github.com/SondagesPro/LimeSurvey-SondagesPro or gitlab.com/Sondages.Pro/limesurvey26lts_improved (same code)
1. I prefer to have a git.sondages.pro only repo, but no time to make it
2. Since github is not a free (like a speech) tool : i prefer usage of gitlab
3. Since gitlab admin sys are really … silly and move to google azure :! some user can't access to gitlab (Iranian, Chinese etc …)
But more : why not ? If you have already an account on gitlab : you can use gitlab, if you have already an account on github : you can use github. Git is done like this : mirrroring a repo is an easy task.
I surely setup a clean git.sondages.pro website, but i need to hire a better server (price is all for me), and when i have one : it become the origin repo : issue must be only posted on this website. But github and gitlab still open …
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
- JEfromCanada
- Topic Author
- Offline
- Senior Member
- Posts: 44
- Thank you received: 3
As I stated in my original post, I cannot use PHP 5.6 because I have other domains in the same hosting account that are specifically designed for PHP 7.0.
- JEfromCanada
- Topic Author
- Offline
- Senior Member
- Posts: 44
- Thank you received: 3
Sounds like I will need to get into those repositories and brush up on my prayer skills LOL
I need to convert to a version that is PHP 7.0+ compatible ASAP, since the survey is currently unusable.
- holch
- Offline
- LimeSurvey Community Team
- Posts: 11758
- Thank you received: 2753
If you have important surveys to run, you don't just move. You keep the old system running, install on the new system in parallel, then test, test, test, test. Finally you test a little more. When the tests are all successful, then, and only then, you move your production environment to a new hoster.
This is not only true for Limesurvey, but for any web application that is important to you. Otherwise you risk that your services are down for a while, until you can fix the problems. Especially when you did not update your application for so long. You wouldn't expect your software from Windows 95 to run without trouble on Windows 10 either.
Since your LS 1.91+ version there have been several major versions and many, many improvements and changes to Limesurvey. I am not surprised that 1.91 does not run on a modern hosting environment, as it is quite a few years old now. Your version was released at the beginning of 2012.
As a quick solution, to get your survey up and running, I would find a hosting that still offers PHP 5.6 and run the survey there until it is finished and then move to the newer versions.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
- DenisChenu
- Offline
- LimeSurvey Community Team
- Posts: 13935
- Thank you received: 2551
Since LimeSurvey 1.91 have a lot of public security issue : you really must use this on a dedicated server without anything else.holch wrote: …
If you have important surveys to run, you don't just move. You keep the old system running…
And don't have precious information in the database …
It's REALLY a MAJOR RISK to use a 1.91 (or 1.92, or 2.05) today …
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.