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

Host中使用php命令行(php-cli) 使用命令行报错 #498

Open
fgc1101 opened this issue Jul 2, 2022 · 1 comment
Open

Host中使用php命令行(php-cli) 使用命令行报错 #498

fgc1101 opened this issue Jul 2, 2022 · 1 comment

Comments

@fgc1101
Copy link

fgc1101 commented Jul 2, 2022

(base) localhost:~ fgc$ source ~/.bash_profile
-bash: /Users/fgc/.bash_profile: line 68: syntax error near unexpected token (' -bash: /Users/fgc/.bash_profile: line 68: php () {'

所以我想问的是必须要 放在 bashrc下面还是 在bash_profile文件下也可以。这两种都试了, 都是报同样的错

@dygin
Copy link
Contributor

dygin commented Jul 5, 2022

cp your bash_profile here

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

2 participants