Electron microscopy and cathodoluminescence (CL) microanalysis were used for a comparative study of porous layers fabricated by electrochemical etching of n-GaP substrates in a sulfuric acid solution. Both the CL and morphology of porous layers were found to depend upon the anodic current density. At high current density (100 mA/cm2) anodization leads to the formation of so-called current-line oriented pores and an increase in the CL intensity. We observed self-induced voltage oscillations giving rise to a synchronous modulation of the diameter of pores and CL intensity. When the current density decreased to values as low as 1 mA/cm2 the pores began to grow along <111> crystallographic directions and the CL intensity was observed to be lower than that of bulk GaP.