In my last post I told you about some of the common WordPress errors occurring due to low PHP memory limit. Hope you got to know some of these errors and why they occur. In this post I will tell you how to find your Site’s PHP information.
Sometimes you want to know your PHP information for any reason.
What to do? Whom to ask? Asking the host through a support ticket will take a long time as when the support reply, God knows? What to do in such a situation? Don’t worry! The steps to find this information are very easy.
Follow the below steps:-
1. Create a file naming info.php in a text editor. (You may name the file anything. But it should be of .php extension.)
2. Paste the following code in
<?php phpinfo(); ?>
3. Remember to save the file with a .php extension and not .txt extension. Otherwise the tip won’t work.
4. If you have created the file directly on your server don’t follow this step. If you have created in your computer, upload it to your site root directory.
5. The file should be in the site root directory. Ex:- http://yourdomain.com/info.php (Otherwise it won’t work).
6. Now open the file in your browser, you will see all the necessary PHP information.
Note:-
Use a complicated name for the file. Never give this information to anyone. The more complicated the file name is, the more safe you are.









Thank you for this useful tips. I was use this tips a long time ago in my work, but i already forgot it completely.
Thank you for your encouraging comment!