OS X Mojave
PHP 7.1.23
Master branch
valet install --with-mariadb
[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
[binaries] Installing binaries
[PECL] Updating PECL channel: pecl.php.net
[PECL] Installing extensions
apcu_bc is already installed, skipping...
apcu_bc is already enabled, skipping...
geoip is already installed, skipping...
geoip is already enabled, skipping...
[PECL-CUSTOM] Installing extensions
[[email protected]] Restarting
[dnsmasq] Restarting
[[email protected]] Stopping
[[email protected]] Configuring
[UnexpectedValueException]
RecursiveDirectoryIterator::__construct(/usr/local/var/mysql): failed to open dir: No such file or directory
install [--with-mariadb]
Managed to resolve this by unlinking and uninstalling all versions of php, mysql and mariadb.
Ran valet fix then was able to install again.
Was a tricky one to sort.
I solved it running:
mkdir /usr/local/var/mysql
brew link [email protected] --force
valet fix && valet install
Most helpful comment
I solved it running: