PHP code stops interpreting from ">" character
P粉799885311
P粉799885311 2024-03-31 09:02:01
0
1
438

I just migrated all my WordPress files to another server (share). I imported the database and changed the old domain name.

When I enter the wp-login page, it shows 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 PHP no longer interprets from that character. So I checked the PHP version and it was 7.3.

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

Do you know why it doesn't show the login form? I ran it locally (using the same PHP version) without any problems.

Thanks

P粉799885311
P粉799885311

reply all(1)
P粉850680329

Okay, I found the error. I commented these lines in .htaccess:

#
        #  AddHandler application/x-httpd-ea-php73 .php .php7 .phtml
    #

But I don’t know what their purpose is...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template