IMPROVBOY Online & Print Marketing
“Where inspiration and science create brilliant solutions.”
Find the PHP Version on Your Server & Website
Need To Find the PHP Version on Your Server & Website?
There are times when I am working on websites that I need to either find out which PHP version is being used on the website, or I need to know what PHP modules are enabled on the server. In both cases, I find it easier to do this little trick than to go into the guts of the server to find out this information.
First, copy the following code:
<?php phpinfo(); ?>
Paste it in a simple text editor like Windows Notepad or NoteTab. Don’t use Microsoft Word or another word processing program. Save the file as php-info.php (not php-info.php.txt or php-info.txt).
FTP this file to the root of your domain, or use cPanel File Manager to upload the file.
Go to yourdomain.com/php-info.com
Now you can see everything you have ever wanted to know and more about your PHP configuration. From this report:
- which PHP version you are using
- finding the path to the php.ini file
- sometimes the path to the extensions folder
- which PHP modules are enabled on your server
- How To Install Magento 2 on Centos Server
- No PO Box for Shipping in Checkout
- Add Social Media Share Buttons to Magento WordPress Integration Pages
- Magento 1.9 New Registration Error: Please Make Sure Your Passwords Match
- Why is My ionCube Loader Not Working?
- Find the PHP Version on Your Server & Website
HTML & CSS Articles
Beaver Builder Theme Articles
Divi Theme Articles
Graphic Art Articles
Head Programmer and Graphic Artist