I'm a new developer, and I'm setting up my ubuntu environment with virtual environments. I have installed anyenv, and i have managed to install node, python, ruby and elixir with their own manager. But i also need php, and here is where i have the problem, after trying installation is fails with: phpenv install 7.3.5 with this error krb5-config: command not found
i haven found what to do, i am a newbie at this.
$ phpenv install 7.3.5
[Info]: Loaded extension plugin
[Info]: Loaded apc Plugin.
[Info]: Loaded composer Plugin.
[Info]: Loaded github Plugin.
[Info]: Loaded uprofiler Plugin.
[Info]: Loaded xdebug Plugin.
[Info]: Loaded xhprof Plugin.
[Info]: Loaded zendopcache Plugin.
[Info]: php.ini-production gets used as php.ini
[Info]: Building 7.3.5 into /home/alex/.anyenv/envs/phpenv/versions/7.3.5
[Skipping]: Already downloaded and extracted https://secure.php.net/distributions/php-7.3.5.tar.bz2
-----------------
| BUILD ERROR |
-----------------
Here are the last 10 lines from the log:
-----------------------------------------
The `krb5-config' command exists in these Python versions:
anaconda3-2019.03
pyenv: krb5-config: command not found
The `krb5-config' command exists in these Python versions:
anaconda3-2019.03
configure: error: Please reinstall the BZip2 distribution
-----------------------------------------
The full Log is available at '/tmp/php-build.7.3.5.20190510190547.log'.
[Warn]: Aborting build.
``
what should i do to install php?