This basic circuit for a common phototransistor was found in an Electronics Now from the 90s. The circuit can be powered by other voltages and R3 changed to modify the gain.