One of the big selling points of WordPress is the fact that many, if not most, users will never need to learn a single line of code. But just as is the case with most things, the more you know, the more you can do. Even a little knowledge can go a long way. One great example, is the deceptively short PHP command, phpinfo.
Even in its simplest form, with no parameters, it can provide invaluable information about current state of PHP. This includes:
PHP compilation options
PHP extensions (not be confused with WordPress extensions)
Server information and environment
OS version information
Master and Local values of configuration options
This information can be invaluable in diagnosing problems and configuring various aspect of your WordPress install, extensions, plugins and more without having to resort to a tech support call or cornering your system administrator in the break room.
So how do I use it?
Making a phpinfo file. A phpinfo file is nothing more than a file containing this one line of code and saved with the extension “.php”.
<?php phpinfo(); ?>
Yes, that is it. Upload this file to your web server and visit the location with your web browser and it will display more information than most users will know what to do with. So much, in fact, that you may need use your browser page search function (Control F on PC, Command F on Mac) to find specific pieces of information.
If, for some reason, you cannot create or deploy your own phpinfo file (limited server access, no FTP, etc), you can also use a very simple phpinfo plugin to achieve similar effects (though this may not be helpful if you are trying to diagnosis and issue running WordPress in the first place, obviously).
I'm the front-man of It's WordPress. I come from a diverse array of backgrounds, enjoying the opportunity to expand my knowledge base and skill set by re-inventing myself. I enjoy environments that focus on emerging information, technology and concepts. I put on the technical hat in my early 20s and never really looked back. I'm love technology and the internet, as well as the outdoors and avidly hike, kayak and camp every chance I get.
We can take you from concept, through design, development and deployment in one seamless process. Whether you choose a self-managed web site or need a continuing support relationship; we've got you covered.