How to check if PhP is loaded successfully

藏色散人
Release: 2023-02-27 13:44:02
Original
2452 people have browsed it

How to check if PhP is loaded successfully

How to check whether PhP is loaded successfully?

First write a .php file;

Then put it in the installed htdocs directory or www directory,

Then you can write a paragraph or Write phpinfo();

<?php
echo &#39;hello world&#39;;
Copy after login

Open the web page and enter the localhost access file name. If there is information output, it means that the PHP configuration is successful.

Introduction to PHP:

PHP is the "hypertext preprocessor" and is a general open source scripting language. PHP is a scripting language executed on the server side. It is similar to C language and is a commonly used website programming language. PHP's unique syntax mixes C, Java, Perl, and PHP's own syntax. It is conducive to learning and widely used. It is mainly suitable for the field of web development.

For more PHP related knowledge, please visit PHP Chinese website!

The above is the detailed content of How to check if PhP is loaded successfully. 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