Wampserver has been installed under the premise of how to create and run this php file in Notepad

Just beginning to learn php, download wampserver, engage in successful operation for a long time and finally my first hellowold php file, another milestone rookie! ~ hiahiahiahia
WampServer official website can not be downloaded (as I always download the official website 404) small partners can refer to the article , then I said look how the most primitive Notepad to write a bit of code and pair of running


1. Create a notepad, enter a php code
Here Insert Picture Description

<!DOCTYPE html>
<html>
<body>

<h1>My first PHP page</h1>

<?php
echo "Hello World!";
?>

</body>
</html>

2. Select the save directory folder in your install files in the directory www wampserver, and remember to put the www folder Oh! ! I would like at D: / wamp64 / www. Save as .php format, remember to save type to All files! .
Here Insert Picture Description
3. Well, then keep it open until the installation wampserver time you choose to open Apache's default browser, for example, I was chosen is Chrome, in the navigation bar, enter the address localhost / test1.php, (test1.php is my file name that you want to make consequential amendments according to their file names Kazakhstan) enter the appropriate page to see friends ~
Here Insert Picture Description

Published 26 original articles · won praise 32 · views 10000 +

Guess you like

Origin blog.csdn.net/Clover_pofu/article/details/105096327