In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly explains "what problems may be caused by different php versions of server migration", interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn what problems may be caused by different server migration php versions.
Today, after the server has migrated, the foreground can be displayed and called normally, and the login background displays 500errors. in general, it is necessary to check the core jump file, and it is found that the login.php file has not been called. Because the login.php file cannot be found, it proves that there is a syntax error in the file.
Open the server error message and find .fatal error:Call-time pass-by-reference has been removed
After searching for information, I found that my original server environment was version 5.2, and after replacing the server, I upgraded to version 5.4, so there was a parameter transfer error.
Fatal error:Call-time pass-by-reference has been removed
When PHP upgrades 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 no longer allows the use of references when calling functions, such as getFormMethod (& $method).
This way of passing parameters is no longer allowed and can be written when the function is defined.
Function getFormMethod (& $method) {}
When calling
GetFormMethod ($method)
At this point, I believe that everyone on the "server migration php version may cause different problems" have a deeper understanding, might as well come to the actual operation of it! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.