A photoacoustic microscope (PAM) with a multi-function is designed and fabricated. Two scanning modes with galvanometric scanners and linear-motor stages, which present quiet environment suitable for gas-microphone photoacoustics, are available in this microscope. Beam scanning, data acquisition, and signal processing is controlled by a graphical software LabView. Applications to the PAM to nondestructive evaluation of surface and undersurface defects of the solid specimens are also demonstrated.