php-parse command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
php-parse: command not found
or when using sudo you get the following error message
sudo: php-parse: command not found
Solutions to php-parse: command not found
How To Fix php-parse: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu php-parse is provided by php-parser package.
php-parser is:
PHP Parser’s purpose is to simplify static code analysis and manipulation. It turns some PHP code into an abstract syntax tree, and vice versa.
To fix this problem, we can install more using the command below.
sudo apt-get -y install php-parser
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install php-parser.
sudo apt -y install php-parser
Or if you have aptitude installed you can use the following command.
sudo aptitude install php-parser
Summary
In this tutorial we learn how to fix php-parse command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.