How to set up a local server in php

hzc
Release: 2023-03-01 15:32:02
Original
5184 people have browsed it

How to set up a local server in php

1. First, download WampServer, a free software that quickly builds a local server, on the Internet. You can find the download by searching "WampServer" on Baidu.

How to set up a local server in php

#2. After downloading, double-click to install WampServer and keep selecting "next" to complete the installation.

How to set up a local server in php

How to set up a local server in php

How to set up a local server in php

How to set up a local server in phpHow to set up a local server in php

#The default software language is English , we can modify it back to Chinese. After the installation is complete, open the software, right-click the small software icon in the lower right corner of the computer, select Language, and select the language "Chinese".

How to set up a local server in php

Click the software icon and select the www directory which is the root directory of the local server; select phpmyadmin to open the database.

How to set up a local server in php

How to set up a local server in php

The local server is set up successfully. Enter "localhost" in the browser to access the root directory of the local server.

How to set up a local server in php

As shown in the picture, if access fails, the server is not started. We check whether the WampServer service is started. The icons for the started and not started are different. It's red. We can start all services.

How to set up a local server in php

How to set up a local server in php

If you still cannot successfully access the local server, it means that port 80 of this machine is occupied. Usually, the same type of software is installed. The software uses Apache and is occupied. Find it, disable it, and then restart WampServer.

Recommended tutorial: "

php tutorial"

The above is the detailed content of How to set up a local server in php. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template