Change phpSec to a static version