try to fix SCRIPT_NAME and PATH_TRANSLATED in php plugin