studio1902 / statamic-peak

Statamic Peak is an opinionated starter kit for all your Statamic sites.
GNU General Public License v3.0
611 stars 102 forks source link

Updating Ploi's deploy script #403

Closed vannut closed 5 days ago

vannut commented 5 days ago

The example deploy script uses composer instead of {SITE_COMPOSER}. The latter uses the correct PHP version configured for the current website, instead of the global default.

Kuldas commented 5 days ago

Is this the right solution? Actually I am not aware that ploi allows to set the PHP version for a specific site, but only globally or has something changed?

robdekort commented 5 days ago

Oh yeah, good point. Thanks.

@Kuldas yep, this should be correct indeed!

vannut commented 5 days ago

@Kuldas as long as the server has multiple php versions installed, you have the possibility to change the php version per website: Scherm­afbeelding 2024-11-14 om 13 33 59

It's on the 'Settings'-tab off the website.