'PHP code stop being interpreted from ">" character

I just migrated all files of Wordpress in another server (shared). I imported the database and changed old domain name.

When I go to the wp-login page, it displays the PHP code instead of the login form interface :

` element. * Default 'Log In'. 
* @param string $message Optional. Message to display in header. Default empty. 
* @param WP_Error $wp_error Optional. The error to pass. Default is a WP_Error instance. 
*/ function login_header( $title = 'Log In', $message = '', $wp_error = null ) { 
global $error, $interim_login, $action; // Don't index any of these forms. add_filter( 'wp_robots', 'wp_robots_sensitive_page' )
...

If I look at the php code, I realize that the PHP stop being interpreted from this character. So I checked the PHP version, which is 7.3.

https://i.stack.imgur.com/HtwZM.png

Have you any idea why it does not display the login form ? I ran it without any problem in local (with the same PHP version).

Thanks

php


Solution 1:[1]

Ok I found the error. I commented these lines in my .htaccess :

    #<IfModule mime_module>
        #  AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
    #</IfModule>

But I do not know what is their purpose...

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 John Doe