スポンサーリンク
I wanted to learn PHP, so I installed XAMPP on my windows machine to build an environment.
I installed XAMPP on my windows machine
This article is just a reminder.
contents
- contents
- abstract
- 1. what is XAMPP
- 2. setup
- 3.Create & run hello world
- 3.1 Creating Folders and Files
- 3.2 Edit index.php
- 3.3 Show hello world
- 4.refarence
スポンサーリンク
abstract
How to install XAMPP on a windows machine
1. what is XAMPP
This software packages the web server, database, and execution environment necessary for web application development!
Just by installing XMAPP, you can set up a PHP development environment!
引用:https://find-a.jp/seotimes/windows-xampp-install/
2. setup
Access the following URL to download the installation file
https://www.apachefriends.org/jp/index.html
Press "Next
Press "Next" with default settings
Select the installation folder and press "Next"
Select "English" and press "Next
Press "Next
Press "Finish
Select "XAMPP Control Panel" from the Startup menu and the setup is complete when the following window appears
3.Create & run hello world
3.1 Creating Folders and Files
Press "Explorer" in the XAMPP Control Panel to create a trial directory in the htdocs folder and create index.php in it
3.2 Edit index.php
Put the following in index.php
<?php $moji = "Hello World"; echo $moji; ?>
3.3 Show hello world
Type localhost/trial/ in the URL of the browser, and if Hello World is displayed, the environment construction is finished.
スポンサーリンク