Catalyzes the phosphorylation of sphingosine to form sphingosine 1-phosphate (SPP), a lipid mediator with both intra- and extracellular functions. Also acts on D-erythro- dihydrosphingosine, D-erythro-sphingosine and L-threo- dihydrosphingosine. Binds phosphoinositides.