Closed devsarfo closed 4 months ago
@devsarfo VitoDeploy doesn't set that kinda aliases for PHP binary.
@saeedvaziry The change uses the php_version from the Site Model as shown below.
The version would be 8.2 instead of 82 and the command would run as shown below
@devsarfo oh my bad. thats cool tnx
As mentioned by @maxcelos When creating a new site with the "Run composer install --no-dev" flag, it runs with the default PHP CLI, ignoring the PHP version selected in the form. It should use the selected PHP version.
This should pass the php_version to the getScript function to be used in the composer-install.sh