How to view PHP settings with the phpinfo() function (2024)

This article describes how to use the phpinfo() function to view detailed information about the PHP environment, settings, and more.

To view phpinfo() output on our servers, you must have an A2 Hosting account. The information revealed by the phpinfo() function poses a potential security risk, so we do not post it publicly. Hackers and other malicious actors could use the information from phpinfo() to plan an attack.

Table of Contents
  • View PHP settings with phpinfo Function
  • More Information

View PHP settings with phpinfo Function

You often need to check PHP settings during web development. You can do this by running a script that calls the phpinfo() function. When you load the page in a web browser, the script shows all of the PHP configuration settings for your web site.

To use the phpinfo() function to view PHP settings:

  1. Create a file that contains the following code:
    <?php phpinfo();?>
  2. Save the file as info.php or something similar.
  3. Upload the file to your public_html directory.
  4. Use your browser to go to http://example.com/info.php, where example.com represents your web site's domain name. The page displays a large amount of information about the PHP installation.

    For security reasons, you should disable any calls to the phpinfo() function when web site development and testing is complete.

More Information

For more information about the phpinfo() function, please visit http://www.php.net/manual/en/function.phpinfo.php.

How to view PHP settings with the phpinfo() function (2024)
Top Articles
What Metals Are Magnetic?
Because It Helps Us Incorporate Lived Experience into Health Research — Why Social Science?
Cpmc Mission Bernal Campus & Orthopedic Institute Photos
Frases para un bendecido domingo: llena tu día con palabras de gratitud y esperanza - Blogfrases
Skycurve Replacement Mat
Amc Near My Location
Breaded Mushrooms
Couchtuner The Office
Craigslist Benton Harbor Michigan
Activities and Experiments to Explore Photosynthesis in the Classroom - Project Learning Tree
Wausau Marketplace
Kostenlose Games: Die besten Free to play Spiele 2024 - Update mit einem legendären Shooter
Mikayla Campinos Videos: A Deep Dive Into The Rising Star
Ucf Event Calendar
Nichole Monskey
Builders Best Do It Center
Troy Athens Cheer Weebly
Local Dog Boarding Kennels Near Me
Grace Caroline Deepfake
Craftology East Peoria Il
Wal-Mart 140 Supercenter Products
Richland Ecampus
Vandymania Com Forums
Heart Ring Worth Aj
Rqi.1Stop
Quick Answer: When Is The Zellwood Corn Festival - BikeHike
The Old Way Showtimes Near Regency Theatres Granada Hills
Scream Queens Parents Guide
Del Amo Fashion Center Map
Directions To Nearest T Mobile Store
Vadoc Gtlvisitme App
Vlacs Maestro Login
Tokioof
Roadtoutopiasweepstakes.con
Craigslist Dallastx
ATM Near Me | Find The Nearest ATM Location | ATM Locator NL
Rage Of Harrogath Bugged
Evil Dead Rise (2023) | Film, Trailer, Kritik
Oriellys Tooele
Mars Petcare 2037 American Italian Way Columbia Sc
Hellgirl000
Craigslist Putnam Valley Ny
Puretalkusa.com/Amac
Live Delta Flight Status - FlightAware
Carteret County Busted Paper
Courses In Touch
Linkbuilding uitbesteden
Rocket Lab hiring Integration &amp; Test Engineer I/II in Long Beach, CA | LinkedIn
Studentvue Calexico
War Room Pandemic Rumble
Florida Lottery Powerball Double Play
How to Get a Check Stub From Money Network
Latest Posts
Article information

Author: The Hon. Margery Christiansen

Last Updated:

Views: 6117

Rating: 5 / 5 (50 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: The Hon. Margery Christiansen

Birthday: 2000-07-07

Address: 5050 Breitenberg Knoll, New Robert, MI 45409

Phone: +2556892639372

Job: Investor Mining Engineer

Hobby: Sketching, Cosplaying, Glassblowing, Genealogy, Crocheting, Archery, Skateboarding

Introduction: My name is The Hon. Margery Christiansen, I am a bright, adorable, precious, inexpensive, gorgeous, comfortable, happy person who loves writing and wants to share my knowledge and understanding with you.