In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
First, install Apache
First download the apache installation package
Official download address
Https://www.apachehaus.com/cgi-bin/download.plx#APACHE24VC14
Decompression
Go to the conf directory of apache, open httpd.conf with notepad, find the following content editor, and change this directory to your own directory.
Modify the site root directory
Next, go to the bin directory of apache
Copy the explorer's address bar
Open the command line of windows
Enter the bin directory of Apache
Cd C:\ apache\ httpd-2.4.37-o102p-x64-vc14 (1)\ Apache24\ bin
Then type httpd-k install to install
Open the following software after the installation is complete
This is the apache management software, including startup, shutdown, restart start Apache operation, very convenient!
Second, install PHP
Official download address
Https://windows.php.net/download#php-7.2
Choose the second download because there is no php5apache2_4.dll in the installation directory of the first version of php
After downloading and decompressing, go ahead and rename the extracted file to php7.
Go to the directory to back up php.ini-development, and then rename the original file to php.ini
Open the httpd.conf of Apache
Find the following and add index.php to make Apache open index.php by default
Add the following at the end of the configuration file
Finally, open the configuration file php.ini of php
Set the specific directory of the PHP expansion pack and find the
; On windows:
; extension_dir = "ext"
Change to (the value is the directory of the ext folder)
; On windows:
Extension_dir = "C:/php/php7/ext"
Open the corresponding library function and find the line of the library that needs to be opened.
; extension=php_curl.dll
; extension=php_gd2.dll
; extension=php_mbstring.dll
; extension=php_mysql.dll
; extension=php_xmlrpc.dll
Remove the previous semicolon (comment) and change it to (those that are not available are added after other extensions)
Extension=php_curl.dll
Extension=php_gd2.dll
Extension=php_mbstring.dll
Extension=php_mysqli.dll
Extension=php_xmlrpc.dll
(different versions of the library may have different names, which need to be set according to your own situation)
Set the time zone, find
; date.timezone =
Change to
Date.timezone = Asia/Shanghai
The configuration is complete, check to see if the configuration is successful. Restart Apache, create a new file index.php in the site directory, and enter:
Enter your own ip in the browser address bar
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.