A PHP Info Page is a simple way to check your server’s PHP configuration, installed extensions, and settings. It’s useful for troubleshooting, debugging, or confirming that your website meets the requirements of a PHP application.
Steps to create a PHP Info Page #
- Create a new PHP file
- Open a text editor (like Notepad or VS Code).
- Create a new file and name it something like
phpinfo.php.
- Add the PHP info code
- Paste the following code into your file:
<?php phpinfo(); ?>
- Upload the file to your website
- Log in to your hosting account at my.disoh.com.
- Verwenden Sie Datei-Manager in cPanel/DirectAdmin or an FTP client to upload
phpinfo.phpto the root of your website (usuallypublic_html).
- View your PHP Info Page
- Open your browser and go to
https://yourdomain.com/phpinfo.php. - You will see a full page with information about your PHP version, loaded extensions, server settings, and more.
- Open your browser and go to
Wichtige Hinweise #
- Security tip: After checking your PHP info, delete the file or move it outside the public folder. Leaving it online can expose sensitive server information.
- This page is read-only, so it won’t affect your website.