Skip to content

Comments

Let composer resolve current php process in scripts#563

Merged
LukeTowers merged 1 commit intowintercms:developfrom
davidlueder:composer-php-resolving
May 24, 2022
Merged

Let composer resolve current php process in scripts#563
LukeTowers merged 1 commit intowintercms:developfrom
davidlueder:composer-php-resolving

Conversation

@davidlueder
Copy link
Contributor

@davidlueder davidlueder commented May 24, 2022

On my shared hosting environment, php always defaults to php4.4.

Commands like php8.1 composer.phar install resulted in a successful installation but failed during the execution of the "post-update-cmd"-Script.

@php should fix this (and did it on my environment), according to:
https://getcomposer.org/doc/articles/scripts.md#executing-php-scripts

@LukeTowers
Copy link
Member

Good catch! Thanks :)

@LukeTowers LukeTowers added Status: Completed maintenance PRs that fix bugs, are translation changes or make only minor changes labels May 24, 2022
@LukeTowers LukeTowers merged commit 2dca142 into wintercms:develop May 24, 2022
@LukeTowers LukeTowers added this to the v1.1.9 milestone May 24, 2022
LukeTowers added a commit that referenced this pull request Jul 15, 2022
* develop: (65 commits)
  Update maximum supported PHP version for 1.1 (#603)
  Update EditorConfig link (#602)
  Apply consistent path normalisation to fix Windows test
  Fix view maker unit test for Windows
  Outputs time respecting backend preferences (#572)
  Rebuild Snowboard agian
  Revert "Rebuild Snowboard"
  Rebuild Snowboard
  Allow a string selector for the form in a request
  Use correct line breaks for Windows tests
  Backport ViewMaker tests from 1.2 branch
  farsi spelling correction (#579)
  Add Winter 1.2 as version option in bug report
  Adjust early termination of requests from success/error
  Increase stale check to 6 months
  Let composer resolve current php process in scripts (#563)
  Fix track input not keeping timeout
  Add jQuery AJAX prefilter as early as possible
  Add additional debugging for errors thrown in events
  Abstract Snowboard plugin constructors and destructors (#561)
  ...

# Conflicts:
#	composer.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance PRs that fix bugs, are translation changes or make only minor changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants