Jump to content

Recommended Posts

Posted

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?

Posted (edited)

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
Posted

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

 

Posted

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

Posted

...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.

Posted

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...

  • 1 month later...
Posted

hi...  i think i messed up composer..

...  i am trying to install PHPmailer by hand, then delete (sent to .trash/) ...  then i noted there is composer an run, it detected my deleted PHPmailer files... i went to wipe the .trash/ folder, now composer stuck...  it complains about aplication folders "trash/" and suggest me to change editing composer.json, but the file appear empty ...  maybe is because of the dot in .trash/

i cannot change/remove the application, even removing the whole folders, even emptying ./trash folder and delete .composrt/ fomder permanently... plesg regenerates the folder and still complains about the non-existing .trash/PHPmailer aplication... cant change path or remove app from composer either

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...