{"id":179,"date":"2022-02-20T17:38:21","date_gmt":"2022-02-20T17:38:21","guid":{"rendered":"http:\/\/localhost:9090\/?page_id=179"},"modified":"2022-02-20T17:38:21","modified_gmt":"2022-02-20T17:38:21","slug":"php-server-configurations","status":"publish","type":"page","link":"https:\/\/doc.agnihd.com\/cartify\/before-get-started\/php-server-configurations\/","title":{"rendered":"PHP Server Configurations"},"content":{"rendered":"\n<p>Having a proper server configuration is very essential for upload &amp; installation process. While the installation process, low server limits may lead to errors such as&nbsp;<strong>Internal Server Error<\/strong>&nbsp;or&nbsp;<strong>Are you sure you want to do this?<\/strong> So make sure that you are having the equivalent or higher variable limits compare to&nbsp;the&nbsp;below. <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">max_execution_time = 300\nmax_input_vars = 2000\nmemory_limit = 128M\npost_max_size = 32M\nupload_max_filesize = 32M<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"changing-php-variables-self-managed-hosting\">Changing PHP Variables on Self Managed Hosting<\/h2>\n\n\n\n<p>Here, you can find the instructions to change PHP configurations on self managed hosting\/server providers such as DigitalOcean, Google&#8217;s VM, Amazon&#8217;s EC2, Azure&#8217;s VM<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Login to your instance through Terminal or Account&#8217;s Instance page.<\/li><li>Go to <code>\/etc\/php8\/apache2\/<\/code> for Apache 2 or <code>\/etc\/php\/8\/<\/code> for Nginx server.<\/li><li>Find the above listed variables and change the values to recommended one.<\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"changing-php-variables-self-managed-hosting\">Changing PHP Variables on Managed Hosting<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"for-cpanel-users\">For cPanel Users:<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>Login to your cPanel account directly through cPanel site or through your hosting account<\/li><li>Click &#8220;Select PHP Version&#8221; under &#8220;Softwares&#8221; tab.<\/li><li>Switch to PHP options by clicking &#8220;Switch to PHP Options&#8221; at Top Right of the Extensions.<\/li><li>Now you can find all the listed variables with values respectively. you can change it to recommended one.<\/li><\/ol>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"alert message\">Note: If you don\u2019t have an access to php.ini or create php.ini please contact your hosting provider to increase the limits for you.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"useful-links\">Useful Links:<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>Change PHP variables on GoDaddy &#8211; <a href=\"https:\/\/www.godaddy.com\/help\/change-php-settings-for-my-hosting-account-26379\">https:\/\/www.godaddy.com\/help\/change-php-settings-for-my-hosting-account-26379<\/a><\/li><li>Increase PHP Memory Limit on Bluehost &#8211; <a rel=\"noreferrer noopener\" href=\"https:\/\/www.bluehost.com\/help\/article\/how-to-increase-the-php-memory-limit\" target=\"_blank\">https:\/\/www.bluehost.com\/help\/Useful Links:article\/how-to-increase-the-php-memory-limit<\/a><\/li><li>Change PHP variables on SiteGround &#8211; <a rel=\"noreferrer noopener\" href=\"https:\/\/www.siteground.com\/kb\/how_to_change_the_value_of_a_php_setting\/\" target=\"_blank\">https:\/\/www.siteground.com\/kb\/how_to_change_the_value_of_a_php_setting\/<\/a><\/li><li>Server Configuration on WPEngine &#8211; <a rel=\"noreferrer noopener\" href=\"https:\/\/wpengine.com\/support\/platform-settings\/\" target=\"_blank\">https:\/\/wpengine.com\/support\/platform-settings\/<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Having a proper server configuration is very essential for upload &amp; installation process. While the installation process, low server limits may lead to errors such as&nbsp;Internal Server Error&nbsp;or&nbsp;Are you sure you want to do this? So make sure that you are having the equivalent or higher variable limits compare to&nbsp;the&nbsp;below. max_execution_time = 300 max_input_vars = [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":18,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-179","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/doc.agnihd.com\/cartify\/wp-json\/wp\/v2\/pages\/179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/doc.agnihd.com\/cartify\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/doc.agnihd.com\/cartify\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/doc.agnihd.com\/cartify\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doc.agnihd.com\/cartify\/wp-json\/wp\/v2\/comments?post=179"}],"version-history":[{"count":0,"href":"https:\/\/doc.agnihd.com\/cartify\/wp-json\/wp\/v2\/pages\/179\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/doc.agnihd.com\/cartify\/wp-json\/wp\/v2\/pages\/18"}],"wp:attachment":[{"href":"https:\/\/doc.agnihd.com\/cartify\/wp-json\/wp\/v2\/media?parent=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}