Different websites and applications may require specific PHP versions or settings. This tutorial will guide you through changing the PHP version and configuring PHP settings in Voltic Host Web Panel.
📌 Prerequisites
-
A web hosting account with Voltic Host.
-
Access to Voltic Host Web Panel.
-
A website that requires a specific PHP version or custom PHP settings.
1️⃣ Changing the PHP Version
-
Log in to Voltic Host Web Panel.
-
Click on Web in the top menu to open the website management section.
-
Find your domain name in the list and click the Edit (pencil icon).
-
Scroll down to the Backend Configuration section.
-
Locate the PHP Version dropdown menu and select the version you need (e.g., PHP 8.1, PHP 7.4).
-
Click Save to apply the changes.
✅ Your PHP version has been successfully changed!
2️⃣ Modifying PHP Settings
-
In Voltic Host Web Panel, go to the Web section.
-
Click Edit (pencil icon) next to your domain name.
-
Scroll down to Additional PHP Settings.
-
To change PHP values like
upload_max_filesize
,memory_limit
, ormax_execution_time
, enter them in this format:memory_limit=512M upload_max_filesize=64M max_execution_time=300
-
Click Save to apply your new PHP settings.
✅ Your custom PHP settings are now applied!
3️⃣ Checking Your PHP Configuration
-
Navigate to File Manager or connect via FTP.
-
Go to the public_html directory of your website.
-
Create a new file called phpinfo.php and open it.
-
Add the following code:
<?php phpinfo(); ?>
-
Save the file and visit:
https://yourdomain.com/phpinfo.php
-
You should see a page displaying your PHP settings.
✅ Your PHP configuration has been verified!
🎉 Conclusion
You have successfully changed the PHP version and modified PHP settings in Voltic Host Web Panel! Adjusting PHP settings helps optimize performance and compatibility for your website.
For more assistance, contact Voltic Host Support. 🚀