API for executing php from java