


This article mainly introduces how to build your own web server (wamp) under win2008. Friends who need it can refer to it
This time I need to record the process of building a web server.
Script House editor's note: Because of the picture format problem, if the picture cannot be displayed, please use the chrome browser to browse it.
The first step is to determine the platform you want to use: this time I am using the windows2008 server version
The second step is to install it manually apache, php, etc. But we can download an integrated version of wamp (i.e. apache, mysql, php under windows system).
The installation process of wamp is as follows: (Similar to the default installation, but pay attention to your own installation)
After the installation is completed, generate shortcuts in the desktop and status columns respectively .
Note: When I ran it for the first time, an error was reported. After checking, I found the reason why it could not be opened. It is most likely that it needs to be installed.
After the program is installed and runs correctly, the icon of this version is displayed like this. When it is white, it means that all services are running. If it is red, it means offline. Yellow means that a certain service is not starting properly. Configuration changes are required.
Click the icon to see the Configuration directory:;
apache’s configuration file:;
php’s configuration file:;
The installation path of wamp and the paths of apache, php, and mysql:;
At this point, the basic understanding of wamp is enough, and you can proceed to the next step, that is, the operation of the web page.
There is a directory named www under the wamp directory:
I want to build a simple website for testing. You can use the website you wrote yourself, or you can download the open source cms. Use, here I use the template of Dreamweaver (i.e. dede);
After decompression, there are two documents in it, one is doc and the other is uploads. Copy all the uploads files to the web page where they were previously stored. In the www directory of the file, go to 127.0.0.1/index.php, and you will successfully enter the web page installation interface. The fool-proof method of use is easy to understand at a glance.
What you need to pay attention to is whether you have installed all the permissions and plug-in support it requires when building the website template of Dreamweaver step by step. Then you can set the domain name and so on according to your own preferences.
One more thing, mysql is required here, that is, you need to build a database. Of course, one thing to note is that the default root account database password of mysql in wamp is empty.
Database:
Interlude:
##Before using another open source cms,After placing the relevant files in the www directory, I found that the zend optimizer was not installed for analysis, so the web page display was all garbled.
One thing to note here is that zend optimizer supports a lower version of php, and the wamp integrated version of php is at least 5.3 or above, so the garbled characters are after php5.3. What appears is zend loader to parse, so pay special attention to this.The zend loader is installed. It is actually just a dl
l file. Put it in this directory, then check the zend loader in the wamp software, and then Add a few sentences to the apache.conf configuration file and At this point, I thought it was OK, but it was not recognized at all and was still garbled, so I decisively gave up on this version of cms. Use dede's latest version of the template and achieve decisive success! Interlude is over! ! Let’s continue. What we are going to talk about next is the configuration of apache. First, open apache.conf and there is a line in it that is the path to the website. Secondly, the default apache configuration only allows access to 127.0.0.1, so we need to change the settings to allow others to access. As shown in the picture: is similar to the configuration as shown below. We can change it to allow from allAt this point, our configuration is basically over. Normally, your website can It is used for testing. Of course, it is up to you to set up the website and upload some things yourself, so I won’t go into details. Remember to restart after the configuration is completed for it to take effect!The above is the detailed content of Detailed introduction to building your own web server under win2008. For more information, please follow other related articles on the PHP Chinese website!

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

SublimeText3 Chinese version
Chinese version, very easy to use

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Dreamweaver Mac version
Visual web development tools

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.