I didn't ./configure apache with --eneble-so but php worked fine for me.
I'm not sure how to uninstall. It's sometimes possible to just type "make uninstall" but sometimes you have to track down the files installed and remove them by yourself.
Here's how I ./configured php:
Code:
./configure --with-apxs2=/etc/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-zlib-dir=/usr/lib --enable-versioning --enable-track-vars=yes --enable-url-includes --enable-sysvshm=yes -enable-sysvsem=yes --enable-ftp --with-config-file-path=/etc --with-gd && make && make install