


Bangkejia (www.Bkjia.com) Tutorials There are too many tutorials on installing apache and php under windows. The editor searched the Internet, but none of them were decent, or they were not right. It’s clear, or it cannot be opened. My personal opinion is not to use the package, because you can practice installing it yourself. Below, I will share the method of installing apache+php by myself as follows:
1. Download the Apache2 and php5 installation packages (search on Baidu yourself)
2. Click directly to install Apache2 (it is recommended not to install the C drive to save trouble). The installation steps are not much different from other software installations, so there is no special statement.
You can ignore the port problem for now. After installation, you can change the port number by modifying the Listen in httpd.config.
Bkjia www.bkjia.com
3. Install PHP5:
Unzip the php5 zip package and put it in a directory you find convenient, such as d:/php5.
4. (1) Copy all dll files in the php folder to c:/windows/system32/ (including all dll files in the ext folder in the php5 directory)
(2) Copy the "php.ini-recommended" file to "c:/windows" and rename it to "php.ini".
5. Modify the php.ini file that has just been renamed:
(1) Find the "extension_dir" field and assign the value to the ext directory in the php decompression path, such as "D:php5ext"
(2) Find the cgi.force_redirect string. The default value is 1. Modify it to 0. And cancel the previous; sign
6. Find the following four sentences respectively and remove the “;” before them.
extension=php_mbstring.dll (wide character, used to support PhpMyAdmin to avoid character display problems)
extension=php_mcrypt.dll (used to support PhpMyAdmin)
Extension=php_mysql.dll (MySql module, you can only access the MySql database after opening it)
extension=php_mysqli.dll (MySql module)
7. Configure Apache to support php5:
Open the "conf" folder in the apache installation directory. Apache configuration mainly relies on httpd.conf. Open the file with a compilation tool and modify some fields in it:
(1)Listen field, the default value is 80, you can modify the port value to change the port of the apache service (so as not to conflict with the port of tools such as tomcat)
(2)DocumentRoot This is the directory where your own web page files are placed. The default is the "htdoc" folder under the apache installation directory. It can also be changed to other directories on the local machine, using absolute paths.
I am using: DocumentRoot "D:/phpwork/" (newly created working directory)
8. Set the start page:
You can copy my configuration here, or you can add the required start page file name yourself. Note that file names are separated by spaces instead of commas
DirectoryIndex index.php index.html default.php default.html index.htm
9. Configure the php module: add two sentences after #LoadModule (there is a row of code) (this is my installation directory, you can make appropriate adjustments according to your own installation situation)
PHPIniDir "D:/php5/"
LoadModule php5_module "D:/php5/php5apache2_2.dll"
10. Save the httpd.conf file and restart Apache. If it starts successfully, create a new liehuo_net.php file under phpwork with the content:
以下为引用的内容: echo "Welcome to Liehuo.Net! "; phpinfo(); ?> |
Enter http://localhost/: the port number you set yourself/liehuo_net.php in the browser. Output the Welcome To Liehuo.Net and php configuration environment variable information. The installation is over. If you have any questions, please comment. !

c盘的users是用户文件夹,主要存放用户的各项配置文件。users文件夹是windows系统的重要文件夹,不能随意删除;它保存了很多用户信息,一旦删除会造成数据丢失,严重的话会导致系统无法启动。

启动任务管理器的三个快捷键是:1、“Ctrl+Shift+Esc”,可直接打开任务管理器;2、“Ctrl+Alt+Delete”,会进入“安全选项”的锁定界面,选择“任务管理器”,即可以打开任务管理器;3、“Win+R”,会打开“运行”窗口,输入“taskmgr”命令,点击“确定”即可调出任务管理器。

PIN码是Windows系统为了方便用户本地登录而独立于window账户密码的快捷登录密码,是Windows系统新添加的一套本地密码策略;在用户登陆了Microsoft账户后就可以设置PIN来代替账户密码,不仅提高安全性,而且也可以让很多和账户相关的操作变得更加方便。PIN码只能通过本机登录,无法远程使用,所以不用担心PIN码被盗。

对于刚刚开始使用PHP的用户来说,如果在Windows操作系统中遇到了“php不是内部或外部命令”的问题,可能会感到困惑。这个错误通常是由于系统无法识别PHP的路径导致的。在本文中,我将为您提供一些可能会导致这个问题的原因和解决方法,以帮助您快速解决这个问题。

win10自带的onenote是UWP版本;onenote是一套用于自由形式的信息获取以及多用户协作工具,而UWP版本是“Universal Windows Platform”的简称,表示windows通用应用平台,不是为特定的终端设计的,而是针对使用windows系统的各种平台。

因为win10系统是不自带扫雷游戏的,需要用户自行手动安装。安装步骤:1、点击打开“开始菜单”;2、在打开的菜单中,找到“Microsoft Store”应用商店,并点击进入;3、在应用商店主页的搜索框中,搜索“minesweeper”;4、在搜索结果中,点击选择需要下载的“扫雷”游戏;5、点击“获取”按钮,等待获取完毕后自动完成安装游戏即可。

windows操作系统的特点包括:1、图形界面;直观高效的面向对象的图形用户界面,易学易用。2、多任务;允许用户同时运行多个应用程序,或在一个程序中同时做几件事情。3、即插即用。4、出色的多媒体功能。5、对内存的自动化管理。

在windows中鼠标指针呈四箭头时一般表示选中对象可以上、下、左、右移动。在Windows中鼠标指针首次用不同的指针来表示不同的状态,如系统忙、移动中、拖放中;在Windows中使用的鼠标指针文件还被称为“光标文件”或“动态光标文件”。


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Zend Studio 13.0.1
Powerful PHP integrated development environment

Atom editor mac version download
The most popular open source editor

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Dreamweaver Mac version
Visual web development tools
