password_verify在Web服务器主机中不起作用,但在localhost中正常工作

password_hash and password_verify both are working fine in localhost but when I uploaded the website to web server host it is not doing anything, not even showing any errors. The php version on my localhost server and web host server are both same - PHP Version 5.6.16. I even tried to restart the server but still no luck. I will be so grateful to anyone who can provide me the appropriate solution for this. Thanks in advance.

It was showing error as "undefined variable 'password_hash' and 'password_verify', but then I updated the web host server php version to the latest one. Now the 'password_hash' is working fine but 'password_verify' is not doing anything, not even showing any errors.

The following is the login code

include("includes/connection.php");
if(isset($_POST['login'])) {

    $u_email = mysqli_real_escape_string($con,$_POST['u_email']);
    $u_pass = mysqli_real_escape_string($con,$_POST['u_pass']);

    $get_user = "select * from user where user_email='$u_email'";
    $run_user = mysqli_query($con,$get_user);
    $row_user=mysqli_fetch_array($run_user);

    if(password_verify($u_pass, $row_user['user_pass'])){
        $_SESSION['user_email']=$u_email;
        echo "<script>window.open('home.php', '_self')</script>";
    }


    else {
        echo "<script>alert('Password or email is not correct!')</script>";
    }


}