What is PHP?
PHP is a server-side coding language. Its functionality lets you create dynamic web pages.
It is meant for handling the back-end of your website. When a PHP code gets executed, the user only sees plain HTML on the front-end. And the PHP memory limit is like the speed limit at which the back-end scripts get executed.
How to update the PHP version?
- Log in to your Bluehost panel and go to the Advanced setting option.
- Here go to the ‘Software section’ and select the ‘MultiPHP Manager’ option. This will take you to the ‘MultiplePHP Manager’ Page.
- Next, you can check the PHP versions of your domain names currently have. Select the domain name for which you want to change your PHP version. From the PHP Version drop-down select the PHP version you want to update to. And hit the Apply button
A success message will pop up. And that’s it! you have now successfully updated your PHP Version for your domain name.
Watch the video below to know more,
How to update the PHP limits for your Domain name?
- Log in to your Bluehost Panel and go to Advanced Setting
- Select the ‘MultiPHP INI Editor option under the Software section. Under the Basic Mode tab, select the domain’s document root from the drop-down menu. This will open up the domains PHP INI Editor where we can update PHP parameters. Scroll down to ‘memory_limit’ and change the memory limit to what you want. After making the change, hit Apply.
A popup will appear confirming if the memory limit change was successful or not
In some cases, the PHP limit increase isn’t updated on the WordPress dashboard. To make sure that this is done, follow the next steps
-
- Go to Advanced settings. Under the Files section select File Manager.
- Open the ‘public_html’ directory and open the file for the domain name you want to increase the PHP limit for.
- Next, right-click on the .user.ini file. And select ‘Copy’ and copy the file to the wp-admin directory of the domain name.
- Once this is done, log in to your WordPress admin panel and under the Media tab check the ‘Maximum upload file size’ this will be updated.
And that’s how you can increase your PHP limits
How to update your WordPress Memory limit?
- Log in to your Bluehost Panel and go to the Advance setting.
- Under the Files section select File Manager.
- Open the public_html directory and open the directory for the domain name whose WP memory you want to update.
- Next, right-click on the wp-config.php file and select Edit. A pop up will appear, click on Edit to continue.
- To increase the memory to the administrative side of your website, add the following line:
- define(‘WP_MAX_MEMORY_LIMIT’, ‘512M’);
- Note: This code needs to be placed above: /* That’s all, stop editing! Happy blogging. */
- Click on save to save the changes and that’s it! you have successfully increased your WP memory limit.
And with that, update the PHP version, PHP limits and WordPress Memory limit set for your website.
If you still need more help, then please chat with us.
1 Comment
so easy and helpful!