I believe (understand that I don't know this for a fact) that you should be able to just unisntall PHP and then reinstall it as mod_php is a module that is loaded by apache, not compiled right into it, and it is just a programming language that accesses mysql (mysql does not have php support, php has mysql support).
./configure --with-apxs=/usr/sbin/httpd --with-mysql --with-other-stuff
Steven Ciaburri | Industry's Best Server Management- Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance