Php Setup was messed up

58 views Asked by At

I did this command on ubuntu echo php phpinfo(); > a.txt and this changed the php command on my pc. So whenever I run which php I get php () {> a.txt}

1

There are 1 answers

0
Hilal Najem On BEST ANSWER

To solve this we need:

  1. Restart the computer
  2. find a.text and delete it