Looks like the new install doesn't have the header files. Found out that I could do:

'locate mysql.h'

to find out where they are, and that only gave me paths to the old mysql and the PHP folder. But if I don't write the path to the headerfiles, then it says that things like mod_perl won't work...so then I am guessing that mod_python won't work..