Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Errors Upgrading PHP running 5.2.14

  • adrianwi
  • adrianwi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 11 months ago #225533 by adrianwi
Errors Upgrading PHP running 5.2.14 was created by adrianwi
Your LimeSurvey version:  5.2.14+220214
Own server or LimeSurvey hosting: Self-hosting on TrueNAS 12.0-U8 in a FreeBSD jail

==================

I've been running this and updating it for 1-2 years, initially through the ComfortUpdate but more recently manually.  It had been installed with php73 and I've maintained that with pkg update/upgrade but thought it would be a good idea to bump that to something in support, so tried to upgrade to php80.  That produces the error below, so I rolled back and tried php74, but I get the same error.  Rolling back to php73-33 and it works just fine.  Any ideas much appreciated.Internal Server ErrorCall to undefined function session_get_cookie_params()An internal error occurred while the Web server was processing your request. Please contact the webmaster to report this problem.Thank you.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 11 months ago #225543 by DenisChenu
Replied by DenisChenu on topic Errors Upgrading PHP running 5.2.14
php-session ?
www.php.net/manual/en/function.session-get-cookie-params.php

You need to add session management in your php8

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.
The following user(s) said Thank You: adrianwi

Please Log in to join the conversation.

  • adrianwi
  • adrianwi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 11 months ago #225554 by adrianwi
Replied by adrianwi on topic Errors Upgrading PHP running 5.2.14
Thanks for the reply!

I think I had that installed?

php80
php80-bcmath
php80-bz2
php80-calendar
php80-ctype
php80-curl
php80-dba
php80-dom
php80-exif
php80-extensions
php80-fileinfo
php80-filter
php80-ftp
php80-gd
php80-gettext
php80-iconv
php80-imap
php80-ldap
php80-mbstring
php80-mysqli
php80-opcache
php80-openssl
php80-pdo
php80-pdo_mysql
php80-pdo_sqlite
php80-pecl-APCu
php80-phar
php80-posix
php80-session
php80-simplexml
php80-sqlite3
php80-tokenizer
php80-xml
php80-xmlreader
php80-xmlwriter
php80-xsl
php80-zip
php80-zlib

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 11 months ago #225566 by DenisChenu
Replied by DenisChenu on topic Errors Upgrading PHP running 5.2.14
undefined function session_get_cookie_params() is clearly a lack of session management in ypour system.
It's a PHP function …

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • adrianwi
  • adrianwi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 11 months ago #225570 by adrianwi
Replied by adrianwi on topic Errors Upgrading PHP running 5.2.14
Ok, thanks. I'll do some more digging. I did a like for like replacement of all PHP files between 7.3 and 7.4/8.0 so something must have changed between those.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 11 months ago #225584 by DenisChenu
Replied by DenisChenu on topic Errors Upgrading PHP running 5.2.14
And if you remane config.php to config_bak.php ?
To create a new clean one.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • adrianwi
  • adrianwi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 11 months ago #225691 by adrianwi
Replied by adrianwi on topic Errors Upgrading PHP running 5.2.14
I've done a little more digging and I think the problem is with the apache24 configuration for PHP. It's trying to load the line below, but I suspect that doesn't work with php8 installed

LoadModule php7_module libexec/apache24/libphp7.so

I've tried various options with and without the numbering based on a few threads I've found online, but it might be an issue with the FreeBSD PHP8 packages.

I'll report back if I find a solution, but for now I'll just stick with 7.3!

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 11 months ago #225713 by DenisChenu
Replied by DenisChenu on topic Errors Upgrading PHP running 5.2.14
How a FreeBSD user !

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

  • adrianwi
  • adrianwi's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 11 months ago #225714 by adrianwi
Replied by adrianwi on topic Errors Upgrading PHP running 5.2.14
I'm running Limesurvey in a FreeBSD 12 jail on a home server running TrueNAS 12.0-U8. It's been running for well over 12 months without any issues, other than trying to update a slightly ageing version of PHP

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
2 years 11 months ago #225718 by DenisChenu
Replied by DenisChenu on topic Errors Upgrading PHP running 5.2.14
I have PHP8 only on dev machine currently , my real LimeSurvey instce still on 7.4

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose