Last update at :2024-06-17,Edit by888u
Today, I helped a netizen move a corporate website to a virtual hosting space. He added an additional domain name to cPanel according to the normal method, then migrated the website files, imported the database, and modified the database link file. It should be done, but when opening the website, an error message was reported. The error message \\"Fatal error:Incompatible file format:The encoded file has format major ID 1…\\" is reported, and then search according to your habits to see if there are any similar solutions.
According to the tips on the Internet, the website space needs to support zend guard loader. I used a probe to see that the virtual host currently used by my friend also seems to have installation support. Is it an environmental problem with program compatibility? Then I went to every corner of the program to see what this CMS was. It seemed that I had never seen it before. Finally, I saw at the top of a document that this program was phpweb. It should be a finished website program. I continued to search and found out that the supported version of PHP seemed to be relatively low ( There are documents that require PHP5.2 version).
Fortunately, I am using a virtual host. Remember that you can generally choose a different PHP version for each website in the cPanel panel, so I log in to the cPanel panel and see if I can lower the PHP version selected for this website.
First, choose the PHP version entry
Second, select PHP5.2 for the corresponding site
Select PHP5.2 version here and save it to take effect. Then you can open the migrated website normally. The problem currently encountered is solved by this method. Record it by the way. If you encounter the same problem in the future, you can refer to it.
Recommended site searches: domain name resolution query, free website domain name registration, server rental in the United States, registration information, registration domain name query, which Hong Kong server is the fastest, private server website space, US and European cloud servers, virtual host purchase, US virtualization Host purchase,
发表评论