Fix nginx and php issue