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 Fatal error: Can't use function return value in write context in /root/bin/howdoi on line 19 #3

Closed
justsheep opened this issue Jun 18, 2020 · 2 comments

Comments

@justsheep
Copy link

mkdir -p ~/bin && wget https://raw.githubusercontent.com/san-kumar/howdoi/master/howdoi -O ~/bin/howdoi && chmod +x ~/bin/howdoi
it's ok.
sudo ln -s ~/bin/howdoi /usr/local/bin/howdoi
it's ok.
howdoi check my linux version
PHP Fatal error: Can't use function return value in write context in /root/bin/howdoi on line 19
how can I solve this problem?

@san-kumar
Copy link
Owner

this looks like a problem with your php setup.

  1. Can you tell me which PHP version you are using?
  2. Can you upgrade to PHP 7+ and try with that?

@justsheep
Copy link
Author

this looks like a problem with your php setup.

  1. Can you tell me which PHP version you are using?
  2. Can you upgrade to PHP 7+ and try with that?

oh, yum install php is php5
now, I compiled php7

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