Today, after the server did a migration, the front desk can be normal display and call, log in the background to display 500 errors, generally in this case to see the core jump file, the view found login.php file and did not call. Because the login.php file is not found, it proves that there are grammatical errors in the file.
Open the server error message found. Fatal error:call-time pass-by-reference has been removed
After finding data found that their original server environment is version 5.2, replaced the server later upgraded to the 5.4 version, so there is a parameter pass error.
Fatal error:call-time pass-by-reference has been removed
When PHP is upgraded to 5.5, the following error message appears during program execution
Fatal error:call-time pass-by-reference has been removed,
That is, the new version has not allowed the use of references in function calls, such as Getformmethod (& $method),
Such parameter passing is not allowed and can be written when the function is defined
Function Getformmethod (& $method) {},
When called
Getformmethod ($method);
The above content to you briefly introduced, the Server migration PHP version may be caused by different problems, I hope that the future of our work to learn help.