Last update at :2024-07-01,Edit by888u
After all, there are still relatively few free VPS host panels to choose from among domestic panels. Among them, there are still many users of WDCP panels. Even rumors and previous loopholes will still have a certain impact, but if we can install it on the panel After completion, take some basic security measures in a timely manner, such as modifying the default login port of the panel, deleting files in the root directory of the default environment, promptly updating and upgrading the latest official vulnerability patches, etc.
Although the WDCP panel has been in mainland China for a long time, the version and environment are no longer officially maintained (except for vulnerability patches). The PHP version of the panel environment we install by default is only 5.2, but many of our programs, and The PHP vulnerability issue that was exposed some time ago requires us to upgrade the PHP version, and the official also provides certain upgrade methods.
However, if we use the Alibaba Cloud ECS server, we will find that it is different from other commonly used VPS hosts, including when installing the WDCP panel directly from the official source or upgrading PHP online, because the official source is elsewhere overseas. Server, there will be problems connecting to Alibaba Cloud ECS (modification of DNS will not work), resulting in installation failure in many cases. Here, Snail is migrating the data source version of the PHP upgrade script to my local machine in his own Alibaba Cloud ECS. At least I can guarantee that during my test below, the upgrade can be completed on my machine. .
First, Alibaba Cloud ECS upgrade to PHP5.3.17
wget https://soft.laozuo.org/wdcp/php_up53.shsh php_up53.sh
Second, Alibaba Cloud ECS upgrade to PHP5.5.9
wget https://soft.laozuo.org/wdcp/php_up55.shsh php_up55.sh
Third, Alibaba Cloud ECS upgrade to PHP5.6.12
wget https://soft.laozuo.org/wdcp/php_up569.shsh php_up569.sh
We can choose to install the corresponding PHP version according to the needs of our own projects. If there are no special restrictions, we can upgrade to the currently more common stable version PHP5.6.12 (5.6.9 was used before). The entire PHP upgrade process will take a long time to compile, so we can just wait.
PS: Solve the problem of "make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1\\" error in 512MB memory. Snail has already added it to the above file package. "--disable-fileinfo\\" compiles the script, so there is no problem on 512MB memory.
Recommended site searches: Mainland China domain name, domain name registration, Hong Kong server rental, what is needed for website registration, domain name registration price, website registration number query, mainland China registration-free cdn, space service provider, website virtual host space, purchase already registered Domain name,
发表评论