Remove trailing php.