Warning: file_get_contents(/usr/local/etc/php/7.1/php-fpm.d/www.conf): failed to open stream: No such file or directory in /Users/maxdata/.composer/vendor/laravel/valet/cli/Valet/Filesystem.php on line 112
Warning: file_put_contents(/usr/local/etc/php/7.1/php-fpm.d/www.conf): failed to open stream: No such file or directory in /Users/maxdata/.composer/vendor/laravel/valet/cli/Valet/Filesystem.php on line 125
Restarting php71…
Restarting dnsmasq…
Restarting nginx…
Changed current directory to /Users/yonqing/.composer
Using version ^2.0 for laravel/valet
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files
[Illuminate\Database\QueryException]
SQLSTATE[HY000] [1044] Access denied for user ‘’@‘localhost’ to database ‘t
asks’ (SQL: select * from information_schema.tables where table_schema = ta
sks and table_name = migrations)
[PDOException]
SQLSTATE[HY000] [1044] Access denied for user ‘’@‘localhost’ to database ‘t
asks’
我一步一步走完都没啥问题,到最后在浏览器中输入 name.dev;然后出现
Parse error: syntax error, unexpected ‘?’ in vendor/laravel/framework/src/Illuminate/Foundation/helpers.php on line 233,请问这个错误怎么解决
- Installing laravel/valet (v2.0.8): Downloading (70%)
Downloading (100%)
symfony/var-dumper suggests installing ext-intl (To show region name in time zone dump)
Writing lock file
Generating autoload files
-----------------------
➜ ~ valet install
zsh: command not found: valet
请问是不是因为没有下载完全呀,在重新弄也不行了,
➜ ~ composer globalrequire laravel/valet
Changed current directoryto /Users/songdexin/.composer
Using version ^2.0for laravel/valet
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files