I am running ubuntu 12.10 OS . I have recently installed the same on my system . Installation of apache2 seemed fine . But when i tried installing php 5.3 using a set of commands as below , i got the a bunch of issues to face . 

```
    sudo -i
wget http://in1.php.net/distributions/php-5.3.28.tar.bz2
tar -xvf php-5.3.28.tar.bz2
cd php-5.3.28
./configure
make
make install

```

As i run the command : 

```
./configure

```

I get the below error : 

```
checking libxml2 install dir... no
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... no
configure: error: build test failed.  Please check the config.log for details.

```

Kindly help.

Thanks