Today, after the server has been migrated, the foreground can be displayed and called Normally, login background display 500 error, generally in this case to see the core jump file, the view found login.php file did not call. Because the login.php file cannot be found, it proves that there is a syntax error in the file.
Open Server error message found. Fatal error:call-time pass-by-reference has been removed
After finding the 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 delivery error.
Fatal error:call-time pass-by-reference has been removed
When PHP is upgraded to 5.5, the following error message will appear during program execution
Fatal error:call-time pass-by-reference has been removed,
That is, the new version is not allowed in the function call, in the way of reference, such as Getformmethod (& $method),
This method of 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 give you a brief introduction, the server migrated PHP version of the different may be induced problems, I hope that everyone in the future work to learn some help.
The above describes the server migration PHP version may be caused by different issues, including aspects of the content, I hope the PHP tutorial interested in a friend helpful.