Home >Backend Development >PHP Problem >How to detect successful php installation

How to detect successful php installation

藏色散人
藏色散人Original
2019-09-04 16:53:456176browse

How to detect successful php installation

How to detect successful PHP installation?

First write a .php file and place it in the installed htdocs directory or www directory.

Then you can write a paragraph or phpinfo();## in the file. #

<?php
echo &#39;hello world&#39;;

Then open the web page and enter the localhost access file name

If there is information output, it means the configuration is successful

Recommended: "

PHP Tutorial"

The above is the detailed content of How to detect successful php installation. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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