luceos [deleted] I have finally updated PHP version from 7.2 to 7.4 on my vps as I'm preparing for V1.0.0 but I haven't switched to it yet, I need expert guide here that if I switch from 7.2 to 7.4 in my vestacp for my forum, is it gonna create any issue or work on the go? I mean I'm confused if changing a php version on a running site can cause any issue?

    HD3D yes it can cause issues, but if you encounter any just run composer update --prefer-dist --no-dev -a immediately. Do not upgrade any dependencies/constraints, do not use the extiverse helper to upgrade, just run that command.

    I've upgraded the demos a few weeks ago from 7.4 to 8.0 without issue, I think the same should be possible from 7.2 to 7.4.

    • HD3D replied to this.
      • [deleted]

      HD3D It should work fine, provided you also install all required extensions for that version of PHP you want to use. You'll soon find out if any extensions are missing (in terms of PHP) as there will be an error message that should also tell you which extension is missing. In some cases, you'll also need to restart Apache after adding new PHP extensions.

      My upgrade from a previous PHP version to 7.4 went without issue.

      • HD3D replied to this.
        • [deleted]

        CDN18 I'm seeing something similar here in terms of "unknown"

        metabullet@vps2:~/public_html$ php extiverse check --ansi | grep "| no"
        | flarum/suspend                             | v0.1.0-beta.16   | unknown | no   |                                    |
        | fof/reactions                              | 0.6.0            | unknown | no   |                                    |
        | fof/realtimedate                           | 0.3.0            | 0.3.0   | no   |                                    |
        | justoverclock/flarum-ext-welcomebox        | 1.1.6            | unknown | no   |                                    |
        | kyrne/websocket                            | 2.5.0            | 2.5.0   | no   |                                    |
        | nearata/flarum-ext-copy-code-to-clipboard  | v1.3.0           | v1.3.0  | no   |                                    |
        | nearata/flarum-ext-internal-links-noreload | v1.0.2           | v1.0.2  | no   |                                    |
        | reflar/recache                             | 2.3.3            | 2.3.3   | no   |                                    |
        | v17development/flarum-seo                  | v1.7.2           | unknown | no   |                                    |

          luceos Ok sir, I forgot to mention that I'm still on beta 13 if that command I need to run is for beta 13 or universal? 🤐

          [deleted] Thanks to both of you sir

          • [deleted]

          • Edited

          luceos Ummm - not sure. I have 0.3.2.
          EDIT - seems I am, yes

          luceos

          [deleted] After switching to PHP 7.4 I'm seeing this on my forum's homepage

          <?php
          
          /*
           * This file is part of Flarum.
           *
           * (c) Toby Zerner <toby.zerner@gmail.com>
           *
           * For the full copyright and license information, please view the LICENSE
           * file that was distributed with this source code.
           */
          
          require 'vendor/autoload.php';
          
          $server = new Flarum\Http\Server(
              Flarum\Foundation\Site::fromPaths([
                  'base' => __DIR__,
          		'public' => __DIR__,
          		'storage' => __DIR__.'/storage',
              ])
          );
          
          $server->listen();

          And of course I ran composer update --prefer-dist --no-dev -a
          Cleared Cache

          And php flarum info

          Flarum core 0.1.0-beta.13
          PHP version: 7.4.18
          Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, apcu, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, igbinary, intl, json, exif, memcache, msgpack, mysqli, pdo_mysql, apc, posix, readline, shmop, SimpleXML, soap, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Phar, memcached, Zend OPcache
            • [deleted]

            HD3D That means PHP is not able to parse the content. Did you restart Apache after changing the PHP version ?

              • [deleted]

              HD3D Can you provide the URL ? Feel free to contact me on Discord

              @luceos can I use extiverse upgrade --flarum-version 0.1.0-beta.14 if I want to upgrade to beta14 only?
              I'm actually on beta13 and can't update to stable v1.0.1 as there are still some extensions incompatible

                HD3D

                luceos Removed the ability to use the flarum-version option in the upgrade command, default to the latest always.

                So, nope.

                Manually setting flarum core to that version and the extensions to * should allow you to upgrade to that version perfectly fine.

                22 days later

                luceos I'm also using Extiverse helper v0.3.2 and I'm getting "unknown":

                +-----------------------------------------+----------------+---------+------+------------------------------------+
                | Extension                               | Installed      | Highest | FLC* | Discuss                            |
                +-----------------------------------------+----------------+---------+------+------------------------------------+
                | flarum                                  | v0.1.0-beta.15 | v1.0.3  | ✅    |                                    |
                | alexanderomara/flarum-wp-users          | dev-master     | 1.5.0   | ✅    |                                    |
                | askvortsov/flarum-discussion-templates  | v0.3.0         | v0.8.0  | ✅    |                                    |
                | clarkwinkelmann/flarum-ext-emojionearea | 0.3.0          | 1.0.0   | ✅    | https://discuss.flarum.org/d/4787  |
                | dartrax/flarum-wp-avatar-privacy        | dev-master     | unknown | 🛑    |                                    |
                | flarum/approval                         | v0.1.0-beta.15 | v1.0.0  | ✅    |                                    |
                | flarum/bbcode                           | v0.1.0-beta.15 | v1.0.0  | ✅    |                                    |
                | flarum/emoji                            | v0.1.0-beta.15 | v1.0.0  | ✅    |                                    |
                | flarum/flags                            | v0.1.0-beta.15 | v1.0.0  | ✅    |                                    |
                | flarum/lang-english                     | v0.1.0-beta.15 | v1.0.0  | ✅    |                                    |
                | flarum/likes                            | v0.1.0-beta.15 | v1.0.0  | ✅    |                                    |
                | flarum/lock                             | v0.1.0-beta.15 | v1.0.0  | ✅    |                                    |
                | flarum/markdown                         | v0.1.0-beta.15 | v1.0.1  | ✅    |                                    |
                | flarum/mentions                         | v0.1.0-beta.15 | v1.0.0  | ✅    |                                    |
                | flarum/nicknames                        | v0.1.0-beta.15 | v1.0.0  | ✅    |                                    |
                | flarum/pusher                           | v0.1.0-beta.15 | unknown | 🛑    |                                    |
                | flarum/statistics                       | v0.1.0-beta.15 | v1.0.0  | ✅    |                                    |
                | flarum/sticky                           | v0.1.0-beta.15 | v1.0.0  | ✅    |                                    |
                | flarum/subscriptions                    | v0.1.0-beta.15 | v1.0.0  | ✅    |                                    |
                | flarum/suspend                          | v0.1.0-beta.15 | v1.0.0  | ✅    |                                    |
                | flarum/tags                             | v0.1.0-beta.15 | v1.0.3  | ✅    |                                    |
                | fof/best-answer                         | 0.3.2          | 1.0.1   | ✅    | https://discuss.flarum.org/d/21894 |
                | fof/drafts                              | 0.3.1          | 1.0.1   | ✅    | https://discuss.flarum.org/d/20957 |
                | fof/follow-tags                         | 0.6.4          | 1.0.0   | ✅    | https://discuss.flarum.org/d/20525 |
                | fof/linguist                            | 0.5.0          | 1.0.0   | ✅    | https://discuss.flarum.org/d/7026  |
                | fof/links                               | 0.5.0          | 1.0.0   | ✅    | https://discuss.flarum.org/d/18335 |
                | fof/merge-discussions                   | 0.5.1          | 1.0.0   | ✅    | https://discuss.flarum.org/d/19460 |
                | fof/polls                               | 0.3.2          | 1.0.2   | ✅    | https://discuss.flarum.org/d/20586 |
                | fof/profile-image-crop                  | 0.2.1          | 1.0.0   | ✅    | https://discuss.flarum.org/d/18286 |
                | fof/reactions                           | 0.5.0          | 1.0.0   | ✅    | https://discuss.flarum.org/d/20655 |
                | fof/recaptcha                           | 0.3.0          | unknown | 🛑    |                                    |
                | fof/split                               | 0.6.0          | 1.0.0   | ✅    | https://discuss.flarum.org/d/1903  |
                | fof/stopforumspam                       | 0.4.0          | 1.0.0   | ✅    | https://discuss.flarum.org/d/17846 |
                | fof/subscribed                          | 0.4.1          | 1.0.0   | ✅    | https://discuss.flarum.org/d/20917 |
                | fof/terms                               | 0.6.1          | 1.0.0   | ✅    | https://discuss.flarum.org/d/11714 |
                | fof/upload                              | 0.12.0         | 1.0.1   | ✅    | https://discuss.flarum.org/d/4154  |
                | fof/user-directory                      | 0.5.0          | 1.0.1   | ✅    | https://discuss.flarum.org/d/5682  |
                | v17development/flarum-seo               | 1.5.1          | unknown | 🛑    |                                    |
                +-----------------------------------------+----------------+---------+------+------------------------------------+

                  luceos Thanks. Yes they all should be compatible, but I still can't upgrade. Must be something else. I'll open a new thread in a few moments... Edit: Never mind, working now. I've just had to RTFM.

                  Somehow it doesn't let me toggle a specific extension...

                  ...\flarum>php extiverse ext:toggle alexanderomara/flarum-wp-users  
                  +------------------------------+
                  | extension                    |
                  +------------------------------+
                  | alexanderomara-wp-users      |
                  | clarkwinkelmann-emojionearea |
                  | flarum-lang-german           |
                  | flarum-approval              |
                  | flarum-emoji                 |
                  | flarum-flags                 |
                  | flarum-lang-english          |
                  | flarum-likes                 |
                  | flarum-lock                  |
                  | flarum-markdown              |
                  | flarum-mentions              |
                  | flarum-statistics            |
                  | flarum-sticky                |
                  | flarum-subscriptions         |
                  | flarum-suspend               |
                  | flarum-tags                  |
                  | fof-best-answer              |
                  | fof-follow-tags              |
                  | fof-linguist                 |
                  | fof-links                    |
                  | fof-merge-discussions        |
                  | fof-polls                    |
                  | fof-profile-image-crop       |
                  | fof-split                    |
                  | fof-subscribed               |
                  | fof-upload                   |
                  | fof-user-directory           |
                  | v17development-seo           |
                  +------------------------------+
                  
                   Are you sure you want to set the above extensions as enabled? (yes/no) [no]:

                  I only want to disable the first one.

                    Hello there, I try to use each of the following

                    $ php extiverse auth
                    $ php extiverse upgrade --path ../Users/.../flarum
                    $ extiverse self-update

                    all returned with: Could not open input file: extiverse, can anyone help me with this? Thanks in advance.