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.
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.
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!