supersonicsataa Posted January 6, 2023 Posted January 6, 2023 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?
wolstech Posted January 6, 2023 Posted January 6, 2023 (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 January 6, 2023 by wolstech Explain what composer does 1
supersonicsataa Posted January 6, 2023 Author Posted January 6, 2023 Oh, okay! No problem. Thanks for letting me know.
Krydos Posted January 7, 2023 Posted January 7, 2023 Plesk has composer built into the GUI. Go to Login > Continue to Plesk > Websites & domains > [domain] > Composer and it shows this 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
wolstech Posted January 7, 2023 Posted January 7, 2023 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.
wolstech Posted January 7, 2023 Posted January 7, 2023 ...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.
wolstech Posted January 7, 2023 Posted January 7, 2023 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...
atesin Posted March 7, 2023 Posted March 7, 2023 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now