fix for php only config use