Upgrade from 6.0.37 to 6.1.26 on php 7.4.33

Hi there.
Is it possible ?

Comments

  1. Re: Upgrade from 6.0.37 to 6.1.26 on php 7.4.33

    WackoWiki 6.1 uses str_*() functions and as well the match expression not available in PHP 7.4.

    Out of the box it is probably better to upgrade the stack or move WackoWiki to an stack with at least PHP 8 0 and MariaDB 10.4 or MySQL 8.0.

    Since I no longer have a PHP 7.4 stack for testing, I gave up backporting features to WackoWiki 6.0.
    • WikiAdmin
    • 04/02/2025 12:44 edited
  2. Re: Upgrade from 6.0.37 to 6.1.26 on php 7.4.33

    In this particular case, MariaDB 10.4, it was a feedback from a software packager that many hosters and appliances use for adding WackoWiki. When solving the SQL mode incompatibilities between MySQL 8 and MariaDB I set this threshold for removing NO_AUTO_CREATE_USER for MySQL 8.0 or greater.

    Otherwise, MySQL 8 and higher would throw a fatal error when using NO_AUTO_CREATE_USER in SQL session mode.
    const SQL_MODE_LAX = [
    	'mariadb'	=> 'NO_ENGINE_SUBSTITUTION,NO_AUTO_CREATE_USER',
    	'mysql'		=> 'NO_ENGINE_SUBSTITUTION'
    ];	
    • WikiAdmin
    • 08/11/2025 06:54 edited
Log in or create an account to post a comment.