finally i have installed in CloudWays . i have contacted their support . they have asked me to run two commands.
Hi, i was trying to install flarum using this article https://www.cloudways.com/blog/install-flarum-forum-on-cloud-hosting/ i was getting few errors .. i could not able to solve it. could you please help me where i am missing. if you do offer any installation service on this let me know the charges
symfony/service-contracts suggests installing symfony/service-implementation
symfony/console suggests installing symfony/event-dispatcher
symfony/console suggests installing symfony/lock
Writing lock file
Generating autoload files
9 packages you are using are looking for funding.
composer fund command to find out more!
PHP Fatal error: Uncaught Error: Class 'Composer\Composer' not found in /home/188736.cloudwaysapps.com/jexrthfwjc/public_html/flarum/vendor/nesbot/carbon/src/Carbon/Up
#0 /home/188736.cloudwaysapps.com/jexrthfwjc/public_html/flarum/vendor/nesbot/carbon/bin/upgrade-carbon(28): Carbon\Upgrade::upgrade()
thrown in /home/188736.cloudwaysapps.com/jexrthfwjc/public_html/flarum/vendor/nesbot/carbon/src/Carbon/Upgrade.php on line 131
Thank you for contacting us.
You can install the flarum using your master user by running the following commands:
cd && echo "export PATH='$PATH:/home/master/bin/npm'" >> .bash_aliases cd ~ && echo "export NODE_PATH='$NODE_PATH:/home/master/bin/npm/lib/node_modules'" >> .bash_aliases npm config set prefix "/home/master/bin/npm/lib/node_modules"
cd && echo "alias bower='/home/master/bin/npm/lib/node_modules/bin/bower'" >> .bash_aliases
npm install node-flarum --save