Al Mamun Hossen Blog

Graphic Designer | Web Developer | Opentype font Developer I am at any time very happy because my country's name is Bangladesh. I am an Emotional, Optimist, Challenging, Simple man, I always try my best to keep the good character, I love my Parents, My Motherland Bangladesh. I'm Working at Reem Group as Computer IT Solution & Ekushey as an Artwork Graphics Designer Opentype font Developer

Recent

Post Top Ad

Your Ad Spot

Friday, June 10, 2022

How to check PHP version and configuration (Stellar)

 To check what PHP version is selected for Stellar or Stellar Plus hosting accounts, go to cPanel Software section > Select PHP Version menu:




You will see the current PHP version above PHP extensions:



If you have Stellar Business go to the Exclusive for Namecheap Customers section >> the PHP Tweaks menu:


There you will see the domain and the PHP version set up for it:




Another way to check PHP version is PHPinfo() function, commonly used to check the current state of PHP configuration. It can also be used for debugging purposes as it contains all EGPCS (Environment, GET, POST, Cookie, Server) data.

To run the function, follow the steps below:

1. Log into your cPanel account, go to the Files section > File Manager:

For cPanel Basic Theme:



For cPanel Retro Theme:



2. Navigate to the public_html directory, click on +File and create a phpinfo.php file:





3. Find the newly created file in the list and click on Edit in the upper corner menu or right-click on the file > Edit:



4. Add the lines of the code provided below to the file and click on Save Changes:

<?php
phpinfo();
?>



5. To see the detailed information about the PHP configuration of your account, open http://yourdomain.tld/phpinfo.php link in your browser, replacing yourdomain.tld with your main domain name.

No comments:

Post a Comment

Post Top Ad

Your Ad Spot