Mayank657 Posted September 27, 2023 Share Posted September 27, 2023 How can I use flarum in my website. Quote Link to comment Share on other sites More sharing options...
TinkerMan Posted September 27, 2023 Share Posted September 27, 2023 By installing it. Quote Link to comment Share on other sites More sharing options...
Mayank657 Posted September 28, 2023 Author Share Posted September 28, 2023 15 hours ago, TinkerMan said: By installing it. Bro I tried installing it with Softaculous it doesn't work and I also try to download it on local machine and then upload it to file manager it shows a error Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". Quote Link to comment Share on other sites More sharing options...
Anyx Posted September 28, 2023 Share Posted September 28, 2023 1 hour ago, Mayank657 said: Bro I tried installing it with Softaculous it doesn't work and I also try to download it on local machine and then upload it to file manager it shows a error Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". That's because Flarum requires PHP 8.1 and higher, and won't work with 7.4; if the server you're on has been upgraded to PHP 8.2, you can use that, otherwise you can try downgrading the dependencies to 7.4: https://medium.com/@jszoja/downgrade-composer-php-version-c90900a87aab Quote Link to comment Share on other sites More sharing options...
TinkerMan Posted September 28, 2023 Share Posted September 28, 2023 For the future, it would be really helpful if you could include that information in your first post so you don’t waste our time. If you show that you put in an effort to fix the problem, we will be more likely to put in effort to help you fix it. Withholding information just makes it harder for us and wastes both of our time. Quote Link to comment Share on other sites More sharing options...
Mayank657 Posted September 28, 2023 Author Share Posted September 28, 2023 59 minutes ago, TinkerMan said: For the future, it would be really helpful if you could include that information in your first post so you don’t waste our time. If you show that you put in an effort to fix the problem, we will be more likely to put in effort to help you fix it. Withholding information just makes it harder for us and wastes both of our time. Ok sorry for that Quote Link to comment Share on other sites More sharing options...
Mayank657 Posted September 29, 2023 Author Share Posted September 29, 2023 13 hours ago, Anyx said: That's because Flarum requires PHP 8.1 and higher, and won't work with 7.4; if the server you're on has been upgraded to PHP 8.2, you can use that, otherwise you can try downgrading the dependencies to 7.4: https://medium.com/@jszoja/downgrade-composer-php-version-c90900a87aab Bro I can't find downgraded dependencies version Color legend: - patch or minor release available - update recommended - major release available - update possible - up to date version flarum/approval v1.8.0 v1.8.0 Make discussions and posts require modera... flarum/bbcode v1.8.0 v1.8.0 Allow posts to be formatted with BBCode. flarum/core v1.8.2 v1.8.2 Delightfully simple forum software. flarum/emoji v1.8.0 v1.8.0 Convert text and unicode emoji into Twemoji. flarum/flags v1.8.0 v1.8.0 Allow users to flag posts for moderator r... flarum/lang-english v1.8.0 v1.8.0 English language pack. flarum/likes v1.8.0 v1.8.0 Allow users to like posts. flarum/lock v1.8.0 v1.8.0 End a discussion and don't let anyone add... flarum/markdown v1.8.0 v1.8.0 Allow posts to be formatted with Markdown. flarum/mentions v1.8.2 v1.8.2 Mention and reply to specific posts and u... flarum/nicknames v1.8.0 v1.8.0 Allow users to set nicknames. flarum/pusher v1.8.0 v1.8.0 See new discussions and posts in real-tim... flarum/statistics v1.8.0 v1.8.0 Add a basic statistics widget on the Dash... flarum/sticky v1.8.0 v1.8.0 Pin discussions to the top of the list. flarum/subscriptions v1.8.0 v1.8.0 Allow users to follow discussions and rec... flarum/suspend v1.8.1 v1.8.1 Suspend users so they can't post. flarum/tags v1.8.0 v1.8.0 Organize discussions into a hierarchy of ... Quote Link to comment Share on other sites More sharing options...
Anyx Posted September 29, 2023 Share Posted September 29, 2023 3 hours ago, Mayank657 said: Bro I can't find downgraded dependencies version Color legend: - patch or minor release available - update recommended - major release available - update possible - up to date version flarum/approval v1.8.0 v1.8.0 Make discussions and posts require modera... flarum/bbcode v1.8.0 v1.8.0 Allow posts to be formatted with BBCode. flarum/core v1.8.2 v1.8.2 Delightfully simple forum software. flarum/emoji v1.8.0 v1.8.0 Convert text and unicode emoji into Twemoji. flarum/flags v1.8.0 v1.8.0 Allow users to flag posts for moderator r... flarum/lang-english v1.8.0 v1.8.0 English language pack. flarum/likes v1.8.0 v1.8.0 Allow users to like posts. flarum/lock v1.8.0 v1.8.0 End a discussion and don't let anyone add... flarum/markdown v1.8.0 v1.8.0 Allow posts to be formatted with Markdown. flarum/mentions v1.8.2 v1.8.2 Mention and reply to specific posts and u... flarum/nicknames v1.8.0 v1.8.0 Allow users to set nicknames. flarum/pusher v1.8.0 v1.8.0 See new discussions and posts in real-tim... flarum/statistics v1.8.0 v1.8.0 Add a basic statistics widget on the Dash... flarum/sticky v1.8.0 v1.8.0 Pin discussions to the top of the list. flarum/subscriptions v1.8.0 v1.8.0 Allow users to follow discussions and rec... flarum/suspend v1.8.1 v1.8.1 Suspend users so they can't post. flarum/tags v1.8.0 v1.8.0 Organize discussions into a hierarchy of ... As long as you have ran the first command (composer config...), if you run ``composer update`` it should downgrade dependencies to PHP 7.4. If it doesn't, as described in the article, you'll need to find the ones that are supported by PHP 7.4 and downgrade them manually. I'd advise waiting a bit however, as most servers are being upgraded to PHP 8.2, so you might wish to wait for that update first and then install a PHP 8.2 version of Flarum. Quote Link to comment Share on other sites More sharing options...
Mayank657 Posted October 10, 2023 Author Share Posted October 10, 2023 (edited) I have recently updated to php 8.2 and when I try to install flarum it gives me 500 error https://forum.lighthosting.eu.org/public Edited October 10, 2023 by Mayank657 Quote Link to comment Share on other sites More sharing options...
SpookyKipper Posted October 10, 2023 Share Posted October 10, 2023 (edited) 7 hours ago, Mayank657 said: I have recently updated to php 8.2 and when I try to install flarum it gives me 500 error https://forum.lighthosting.eu.org/public Flarum is known to not work well on free hosting, use something like MyBB is better in this case (Or BurkeKnight's favorite - ElkArte) Edited October 10, 2023 by SpookyKipper Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.