{"id":4064,"date":"2017-01-27T07:17:45","date_gmt":"2017-01-27T07:17:45","guid":{"rendered":"http:\/\/demo.agnidesigns.com\/fortune\/documentation\/?p=4064"},"modified":"2017-07-19T13:08:24","modified_gmt":"2017-07-19T13:08:24","slug":"php-server-configurations","status":"publish","type":"page","link":"https:\/\/demo.agnihd.com\/milton\/documentation\/php-server-configurations\/","title":{"rendered":"PHP Server Configurations"},"content":{"rendered":"<p>[vc_row fullwidth=&#8221;has-fullwidth-column-no-padding&#8221; el_id=&#8221;php-config&#8221; el_class=&#8221;php-config&#8221;][vc_column css=&#8221;.vc_custom_1450614014149{padding-bottom: 70px !important;}&#8221;][vc_column_text]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\u00a0<strong>Internal Server Error<\/strong>\u00a0or\u00a0<strong>Are you sure you want to do this?<\/strong>. So make sure that you are having the equivalent or higher limits compare to\u00a0the\u00a0below.[\/vc_column_text]<div class=\" separator separator_center\" style=\"width:20%; \">\r\n\t\t\t\t\t<span class=\"sep_holder sep_holder_l\"><span style=\"border-top-style:solid; border-color:#e8e8e8\" class=\"sep_line\"><\/span><\/span>\r\n\t\t\t\t\t\r\n\t\t\t\t\t<span class=\"sep_holder sep_holder_r\"><span style=\"border-top-style:solid; border-color:#e8e8e8\" class=\"sep_line\"><\/span><\/span>\r\n\t\t\t\t<\/div>[\/vc_column][vc_column padding_top=&#8221;30&#8243; padding_bottom=&#8221;20&#8243; offset=&#8221;vc_col-md-12&#8243; css=&#8221;.vc_custom_1450614626459{padding-top: 20px !important;padding-bottom: 20px !important;}&#8221;][vc_column_text]- Go to\u00a0<strong>php.ini\u00a0<\/strong>file at\u00a0<strong>&#8220;root\/etc&#8221;\u00a0<\/strong>directory and paste the below code snippet to setup the new configuration.[\/vc_column_text][vc_column_text padding_bottom=&#8221;20&#8243;]<\/p>\n<pre>max_execution_time = 300\nmax_input_vars = 2000\nmemory_limit = 128M\npost_max_size = 32M\nupload_max_filesize = 32M<\/pre>\n<p>[\/vc_column_text]<div class=\" separator separator_center\" style=\"width:20%; \">\r\n\t\t\t\t\t<span class=\"sep_holder sep_holder_l\"><span style=\"border-top-style:solid; border-color:#e8e8e8\" class=\"sep_line\"><\/span><\/span>\r\n\t\t\t\t\t\r\n\t\t\t\t\t<span class=\"sep_holder sep_holder_r\"><span style=\"border-top-style:solid; border-color:#e8e8e8\" class=\"sep_line\"><\/span><\/span>\r\n\t\t\t\t<\/div>[\/vc_column][vc_column][vc_column_text]- Go to <strong>.htaccess<\/strong> file at main WordPress directory and paste the below code snippet at the end of file.[\/vc_column_text][vc_column_text]<\/p>\n<pre>php_value max_execution_time 300\nphp_value max_input_vars 2000\nphp_value memory_limit 128M\nphp_value post_max_size 32M \nphp_value upload_max_filesize 32M<\/pre>\n<p>[\/vc_column_text][vc_column_text]<small>Note: If you don&#8217;t have an access to the php.ini, .htaccess please contact your hosting provider to increase the limits for you.<\/small>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\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 Internal Server Error or Are you sure you want to do this?. So make sure that you are having the equivalent or higher limits compare to the below.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/pages\/4064"}],"collection":[{"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/comments?post=4064"}],"version-history":[{"count":1,"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/pages\/4064\/revisions"}],"predecessor-version":[{"id":4365,"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/pages\/4064\/revisions\/4365"}],"wp:attachment":[{"href":"https:\/\/demo.agnihd.com\/milton\/documentation\/wp-json\/wp\/v2\/media?parent=4064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}