simplified php compilation