Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php 安装版本声明错了 #37

Closed
easydowork opened this issue Jan 25, 2019 · 1 comment
Closed

php 安装版本声明错了 #37

easydowork opened this issue Jan 25, 2019 · 1 comment

Comments

@easydowork
Copy link

php ./bin/SMProxy
PHP Parse error: syntax error, unexpected '?' in /home/test/SMProxy/vendor/humbug/box/src/FileSystem/file_system.php on line 497
test:~/SMProxy$ php -v
PHP 7.0.30 (cli) (built: Jun 27 2018 09:34:40) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.30, Copyright (c) 1999-2017, by Zend Technologies

@wi1dcard
Copy link
Collaborator

请问有什么问题?

从你不完全的描述猜测,请尝试删除 vendor 文件夹后,在你运行 SMProxy 的终端内使用 composer install --no-dev,并将输出内容贴出。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants