Adjustments to php