Valet-plus: Bug: valet fix returns process signal "9"

Created on 20 Feb 2020  路  4Comments  路  Source: weprovide/valet-plus

  • [x] I've checked the issue queue and could not find anything similar to my bug.
  • [x] I'm on the latest version of valet-plus (valet --version): 2.0.0
  • [x] I've run valet fix and valet install after updating and before submitting my issue/feature.

What is the problem?
I get the following errors when running both valet fix and valet install

Removing all old php56- packages from homebrew/php tap

Removing all old php70- packages from homebrew/php tap

Removing all old php71- packages from homebrew/php tap

Removing all old php72- packages from homebrew/php tap

Removing all old n98-magerun packages from homebrew/php tap

Removing drush package from homebrew/php tap

[php5.6] Disabling modules: apcu, intl, mcrypt
[php7.0] Disabling modules: apcu, intl, mcrypt
[php7.1] Disabling modules: apcu, intl, mcrypt
[php7.2] Disabling modules: apcu, intl, mcrypt
Installing and linking new PHP homebrew/core version.
Uninstalling /usr/local/Cellar/[email protected]/7.2.24_2... (515 files, 75.0MB)


In Process.php line 429:

  The process has been signaled with signal "9".


fix [--reinstall]

The install throws

[php] Checking for errors within the php installation...
[nginx] Stopping
[[email protected]] Stopping
[[email protected]] Stopping
[devtools] Installing tools
[devtools] wp-cli already installed
[devtools] pv already installed
[devtools] geoip already installed
[devtools] zlib already installed
[binaries] Installing binaries
[BREW TAP] henkrehorst/php already installed

In PhpFpm.php line 308:

  Unable to determine linked PHP.


install [--with-mariadb]

What was supposed to happen?

Install should work.

What actually happened?

It errored out

How to reproduce this?

Have a new mac, try to follow installation steps.

Bug Needs review

All 4 comments

I've restarted the mac and I avoided doing valet fix since that caused the [email protected] to be removed for some reason so I just went ahead, force linked it and installed valet so it passed.

@dingo-d Can you please provide instructions on how to force link? I'm having the same issue.

So I had a new mac, so nothing was installed. I just followed the installation instructions and got to part 4

brew link [email protected] --force

but don't do step 8, because that can unlink the PHP. By default, the latest Catalina has PHP 7.3 iirc, but the valet+ will install PHP 7.2. So before step 8, the php -v should say 7.2.

Then the installation with valet install should pass.

I am having the same issue today. New macOS 10.15.4 installation, nothing installed.

valet fix
Password:
Removing all old php56- packages from homebrew/php tap

Removing all old php70- packages from homebrew/php tap

Removing all old php71- packages from homebrew/php tap

Removing all old php72- packages from homebrew/php tap

Removing all old n98-magerun packages from homebrew/php tap

Removing drush package from homebrew/php tap

[php5.6] Disabling modules: apcu, intl, mcrypt
[php7.0] Disabling modules: apcu, intl, mcrypt
[php7.1] Disabling modules: apcu, intl, mcrypt
[php7.2] Disabling modules: apcu, intl, mcrypt
Installing and linking new PHP homebrew/core version.
Uninstalling /usr/local/Cellar/[email protected]/7.2.29... (514 files, 74.8MB)


In Process.php line 429:

  The process has been signaled with signal "9".  


fix [--reinstall]
Was this page helpful?
0 / 5 - 0 ratings

Related issues

dannygsmith picture dannygsmith  路  3Comments

aronwp picture aronwp  路  4Comments

eclectic-coding picture eclectic-coding  路  4Comments

perteraul picture perteraul  路  3Comments

zcuric picture zcuric  路  4Comments