PACS 42.25.Lc, 42.65.Ky, 78.55.Mb, 82.45.Vp Electrochemically produced porous GaP layers demonstrate strong non-Rayleigh light scattering in visible range. Moreover, (110) porous GaP layers exhibit in-plane birefringence. Both properties offer much promises for enhanced nonlinear-optical processes. We report experimental studies of spectral and orientation dependences of the second-harmonic generation in (110) and (111) porous GaP layers. An order of magnitude increase of the second-harmonic intensity was found in the strongly scattering porous GaP layers in comparison with monocrystalline GaP. The spectral dependence of the second-harmonic intensity was discussed in terms of the phase matching and light localization phenomena.