Get 69% Off on Cloud Hosting : Claim Your Offer Now!
Plesk Obsidian is a robust web hosting control panel. It enables users to control their hosting environment, including PHP settings. While it streamlines PHP configuration through its user-friendly interface, there are occasions when manual adjustments become imperative for fine-tuning specific parameters.
In this guide, we'll explore how to change PHP settings or parameters through Plesk Obsidian manually.
PHP settings control various aspects of PHP's behavior, such as:
- Memory limit
- Execution time
- Error reporting
These settings affect:
- How do PHP-based applications on your server perform?
- How secure are they?
- How well will they work with other software applications?
Plesk Obsidian simplifies the management of PHP settings through its intuitive interface. To access settings:
Launch your web browser.
Enter your credentials to sign in into your Plesk Obsidian control panel
Once logged in, locate the "PHP Settings" option either under the "Domains" tab or the specific domain you want to manage.
Within the PHP settings interface, you can adjust various parameters, such as:
- PHP version
- Memory limit
- Max execution time
- Error reporting level
While this method suits most users' needs, there are situations where you may need to manually edit PHP settings, especially when dealing with advanced configurations or specific requirements.
To manually change PHP settings through Plesk Obsidian, follow these steps:
Connect to your server using SSH or FTP client.
You'll need administrative access to the server to make changes to configuration files.
PHP configuration files are typically located in the `/etc/php` directory.
Depending on the version and configuration, you'll edit a specific file.
Use a text editor such as Nano or Vim to open the desired PHP configuration file.
Locate the parameter you wish to alter.
Change the values according to your requirements.
Save the file.
Exit the text editor.
Restart the web server to apply the changes.
The command will vary depending on the server software you're using.
For Apache, you can use:
Sudo service apache2 restart
For Nginx, you would use:
sudo service nginx restart
Once the server has been restarted, verify that the changes have taken effect by accessing your website and checking the PHP settings using tools like phpinfo().
PHP configuration is one of the critical tasks in web hosting. It plays a significant role in the security and performance of the server. Although Plesk Obsidian makes it easy to tweak PHP settings via the command center, some circumstances require direct changes. With this guide, you will be able to safely and effectively alter the PHP settings by utilizing Plesk Obsidian for all your PHP applications.
Let’s talk about the future, and make it happen!
By continuing to use and navigate this website, you are agreeing to the use of cookies.
Find out more