search
HomeBackend DevelopmentPHP ProblemHow to determine whether php is installed successfully

Method to determine whether PHP is installed successfully: First create the phpinfo.php file in the PHP installation path; then open the browser, enter [http://localhost/phpinfo.php] in the URL input field, and return If you can see the phpinfo interface picture, the installation is successful.

How to determine whether php is installed successfully

Method to determine whether PHP installation is successful:

(Learning video recommendation: java course)

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

<?php
    Phpinfo();
?>

2. Save the file, and then enter http://localhost in the browser URL input field. /phpinfo.php, press Enter. If the installation is successful, you can see the PHPINFO interface diagram, otherwise you will not see anything.

How to determine whether php is installed successfully

Related recommendations: php training

The above is the detailed content of How to determine whether 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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool