Jump to content

Composer Question


supersonicsataa
 Share

Recommended Posts

Firstly, thanks so much for running HelioHost. I'm new as a user, but I've been reading the forums for a while and it's such a fun place to be. The hosting is wonderful, thank you.

 

Secondly, I have a question about Composer on Johnny. Specifically, does HelioHost use Composer v2? I'd like to install Flarum on my site, but the documentation specifically says Composer 1 has bad memory leaks on lots of shared hosting, and that I should REALLY ask. So in the interest of keeping HelioHost alive, what Composer are we using here?

Link to comment
Share on other sites

We don't support Composer on the shared hosting at all (there's no way for users to run it since we don't offer SSH access). That said, you can absolutely build composer apps on your local PC then upload the output and they will work just fine. Composer's primary purpose is to just download a bunch of vendor packages and code and organize all of it into a working application.

A VPS will also support Composer since you have root access with a VPS.

 

Edited by wolstech
Explain what composer does
  • Thanks 1
Link to comment
Share on other sites

Plesk has composer built into the GUI. Go to

Login > Continue to Plesk > Websites & domains > [domain] > Composer

and it shows this

image.png.942058ac1ca9dc420ad08c1e915fd2cc.png

I haven't tested it out yet, but it sounds like you upload the composer.json file and it will download the dependencies and install the software. Let us know if you try it out.

Here is the version that we're using on Johnny

Composer version 2.5.1 2022-12-22 15:33:54

 

Link to comment
Share on other sites

We'll know shortly if that thing works...it definitely does NOT work if logged in as a normal user (probably because it needs to update the plesk plugin for composer before it runs this), but it seems to work as admin so far.

image.png.a806c32635c345e280dfd35186504934.png

Link to comment
Share on other sites

...and it failed, but that looks like its because Apache hasn't restarted yet. The error is about composer 2.3+ not supporting PHP 5.6 even though I've set the domain to 7.3...

I'll try again in a little while.

Link to comment
Share on other sites

Still getting this error about PHP 5.6 despite being on 7.3, but if I ignore it and install anyway, it looks like it actually built! https://flarum.apps.raxsoft.com/

Quote

Could not update the integration plugin

Composer 2.3.0 dropped support for PHP <7.2.5 and you are running 5.6.40, please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.

So yes, we do in fact support Composer...

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...