Php installation fails with 'missing libraries'. what's the cause?
Missing libraries can halt PHP installation, especially from source.
Example:
configure: error: xml2-config not found. Please check your libxml2 installation.
Solution:
1. Install the missing libraries. For the above, `sudo apt-get install libxml2-dev`.
2. Retry the PHP installation.