What are some common issues faced when compiling PHP on Debian systems?

One common issue faced when compiling PHP on Debian systems is missing dependencies. This can be solved by installing the necessary packages using the package manager. Another issue is incorrect configuration settings, which can be resolved by adjusting the configuration file before compiling PHP. ```bash sudo apt-get install build-essential ``` ```bash sudo apt-get install libxml2-dev ``` ```bash ./configure --prefix=/usr/local/php --with-apxs2=/usr/bin/apxs --with-mysql ```