PHP/MariaDB/MySQL

PHP information

Updated January 2026 9,667 views 1 min read
PHP/MySQL | Updated January 2026

To view your PHP version, loaded extensions, configuration settings, and server environment, create a phpinfo file. This is the quickest way to check what PHP features are available on your hosting account.

01. Useful Information in phpinfo

  • PHP Version - At the very top. To change it, see How to Change PHP Version.
  • Loaded Extensions - Search for specific extensions like curl, gd, imagick, mbstring, mysqli
  • memory_limit - Current memory allocation. See Increase PHP Memory.
  • upload_max_filesize - Maximum file upload size. See Changing Max Upload Size.
  • Server API - Shows how PHP runs (LSAPI on our servers)
Delete After Use

Delete phpinfo.php immediately after checking. It exposes detailed information about your server configuration that attackers can use to find vulnerabilities. Never leave a phpinfo file on a production site.

For server paths (PHP, Perl, Python, ImageMagick, etc.), see Server Paths.

Need a PHP Extension Enabled?

If phpinfo shows a missing extension you need, see How to Request a Module or open a ticket.

Open a Support Ticket

Quick Recap

  1. Create phpinfo.php with <?php phpinfo(); ?>
  2. Visit it in your browser to see full PHP configuration
  3. Check extensions, limits, and version
  4. Delete the file immediately after
  5. Use cPanel MultiPHP to change settings you need to adjust

PHP configuration reference · Last updated March 2026 · Browse all PHP/MySQL articles

Share: X in Reddit f Email
  • 351 Users Found This Useful

Was this answer helpful?

Related Articles

The MySQL Server Is Currently Offline - DBCACHE Exit 11

Server Maintenance | Updated March 2026 When cPanel displays "The MySQL server is currently...

Clean - Shrink ibdata1

PHP/MySQL | Updated January 2026 The ibdata1 file is the InnoDB system tablespace used by...

Useful CSV to MySQL Script

PHP/MySQL | Updated January 2026 Importing CSV data into a MySQL/MariaDB database is a common...

PHP system exec Functions Disabled on Shared Hosting

PHP/MariaDB/MySQL | Updated March 2026 The error "Warning: system() has been disabled for...

Cannot Connect to MySQL on Port 3306

PHP/MariaDB/MySQL | Updated March 2026 If you're getting connection errors when trying to...



Save 30% on web hosting - Use coupon code Hosting30