In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
How to upgrade apache under upupw? In response to this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more small partners who want to solve this problem find a simpler and easier way.
UPUPW will have a major adjustment every time it is updated, such as Apache PHP MySQL phpMadmin PHP components and other version and configuration updates, basically from the UPUPW.EXE main program to every folder.
Although each update is a huge effort, upgrading is relatively simple.
1. Find the UPUPW program folder, open the UPUPW control panel, press s5 to stop all services (s5 will also uninstall the written system services)
2. Rename the upupw folder, such as upupw_bak(keep it as a backup to prevent upgrade errors from being unrecoverable)
3. Extract the new Apache PHP integration package upupw directory to the specified path
4. Open the new version of UPUPW.EXE file and press s1 to open all services. After confirming that it can be successfully opened, press s5 to close all services (run it once in advance to prevent errors caused by upgrading or errors caused by lack of runtime library in the new version of the program)
5. Backup the host/virtual host configuration file and website directory under the original upupw_bak directory and the corresponding website database directory in the database data directory. The specific file path is as follows:
Apache version: Apache2\conf\extra\httpd-vhosts.conf
(httpd-vhosts.conf is the Apache server's home directory and virtual host directory configuration file)
MySQL\data Directory
(Backup the corresponding website data folder in the data directory)
All files in htdocs directory except phpMyAdmin directory
(Of course, you can still use the old phpMyAdmin here)
vhosts directory
(Default storage location when virtual host does not select path, containing all virtual host website files, if virtual host selects path under upupw folder also needs backup, in other directories or disks do not need backup)
6. Overwrite the new version of the file with the backed up file in turn, open the control panel, press s1 to start all services and access the corresponding website in turn. If there is a website data loss or inaccessible situation, press the 8 key to upgrade the MySQL database and try again.
If there is no problem, the upgrade is successful!
Remarks:
* If you manually change httpd.conf, my.ini, php.ini these three configuration files, please backup or upupw control panel press 11 to automatically backup configuration files to the Backup directory copy cfg_bak.zip file retained
It is not recommended to directly overwrite httpd.conf, my.ini, php.ini these three configuration files, because the new version of the configuration file is generally optimized or references to new components, overwriting will not enable the service, please copy the modified place to the new version of the configuration file separately.
* If there is no special instruction in the new version of the file, then the above method applies to all updates of the Apache version!
The answer to the apache upgrade question under upupp is shared here. I hope the above content can help you to some extent. If you still have a lot of doubts, you can pay attention to the industry information channel to learn more about it.
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.