Skip to content
Discussion options

You must be logged in to vote

I found it. Deployer uses the default PHP version, which is located here:

/usr/local/bin/php

Turns out that still pointed to the very old 7.2:

➜  ~ /usr/local/bin/php -v
PHP 7.2.34 (cli) (built: Sep 30 2021 12:59:02) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies

➜  ~ readlink /usr/local/bin/php
/Applications/MAMP/bin/php/php7.2.34/bin/php 

So the solution to my problem was to simply update that symlink to 8.1:

➜  ~ rm /usr/local/bin/php && ln -s /Applications/MAMP/bin/php/php8.1.1/bin/php /usr/local/bin/php

➜  ~ dep7
Deployer 7.3.0
[...]

Case closed :) But figured I'd comment it here in case anyone else bumps into this pro…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@fd6130
Comment options

@antonmedv
Comment options

Answer selected by timmekesegers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants