Internet marketing resources, ecommerce web site design tutorials and  just for fun - free cell phone ringtones!
  Taming the Beast - quality web marketing and ecommerce development services

Handy utility – PHP Info

Posted by Michael Bloch in web development (Monday February 18, 2008 )

Ever needed to know what version of PHP or MySQL is running on your server; what operating system or perhaps modules installed? There may not be any need to have to submit a support ticket to your host. A simple application you can run called PHP info can tell you that and so much more!

PHP info can provide you with version and configuration information for

– Operating system
– Apache
– PHP
– MySQL
– Zend
– Curl
– GD
– MySQL
– SSL
– PHP compilation options and extensions
– Server paths

… and more.

There’s nothing you need to download to use PHP Info, the feature is already installed, assuming of course that your account supports PHP :). There’s just a single file you’ll need to create and upload in order to unleash the power of PHP Info

In a planet text editor, such as NotePad, copy and paste the following command:

<?php phpinfo(); ?>

There should be no spaces before or after that line.

That’s it; just that line. Save the file as info.php and then upload it to the root directory of your site. Then type in the address to the file in your browser:

http://example.com/info.php

That’s all there is to it – you’ll be amazed at the amount of info it provides!

Related:

A beginner’s guide to SSH



 

 
Comments for Handy utility – PHP Info

No comments yet.

Sorry, the comment form is closed at this time.