Home  >  Article  >  Backend Development  >  How to test whether apach php is installed successfully

How to test whether apach php is installed successfully

藏色散人
藏色散人Original
2020-05-07 11:48:342899browse

How to test whether apach php is installed successfully

How to test whether apach php is installed successfully?

Method to test whether PHP installation is successful:

1. Create a file named phpinfo.php in the PHP file under the PHP installation path. The file content is:

<?php
Phpinfo();
?>

2. Save the file, and then enter http://localhost/phpinfo.php in IE. If the installation is successful, you can see the interface diagram of PHPINFO, otherwise you will not see anything

How to test whether apach php is installed successfully

Recommended: "PHP Tutorial"

The above is the detailed content of How to test whether apach php is installed successfully. 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