Shinya Takeuchi’s Website
I’ve done something to run “Hello World” program on my local computer environment.
It’s kind of a memo for myself, but I’ve been programming with PHP and the PHP file calling from the HTML file hasn’t been able to indicate by XAMPP on localhost,
because of I’ve overwritten something on php.ini or anything else.
I thought it’s a nice time to do the next thing.
About the php.ini settings, I reffered to the next website.
https://www.adminweb.jp/xampp/php/index2.html
By the way, php.ini ‘s place is like the following ones.
Doing the things above and run XAMPP, the part of the PHP embedded on the HTML and the part of the PHP called from the PHP on localhost, has white out.
1. Make a proper folder in the “htdocs” under the “dashboard”.
C:\xampp\htdocs\dashboard\test
By the way, the run program is on the next.
hello.html
<html>
<head>
<title>Hello</title>
</head>
<body>
<?php print ‘Hello World’; ?>
</body>
</html>
hello2.html
<html>
<head>
<title>Hello</title>
</head>
<body>
<?php include (“hello.php”); ?>
</body>
</html>
hello.php
So, I’ve tried to change the “httpd.conf” settings below, it worked.
https://qiita.com/non0311/items/1114f080603d9007b1c4
I’ve reffered the next website in the next about the place of “httpd.conf”
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Websites store cookies to enhance functionality and personalise your experience. You can manage your preferences, but blocking some cookies may impact site performance and services.
Essential cookies enable basic functions and are necessary for the proper function of the website.
These cookies are needed for adding comments on this website.
Google reCAPTCHA helps protect websites from spam and abuse by verifying user interactions through challenges.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
Marketing cookies are used to follow visitors to websites. The intention is to show ads that are relevant and engaging to the individual user.
A video-sharing platform for users to upload, view, and share videos across various genres and topics.
Service URL: www.youtube.com (opens in a new window)
You can find more information in our Cookie Policy and .