{"id":171,"date":"2020-04-22T06:24:33","date_gmt":"2020-04-22T06:24:33","guid":{"rendered":"https:\/\/localhost\/bricksacademy\/?post_type=bricks_article&p=171"},"modified":"2024-04-03T07:41:13","modified_gmt":"2024-04-03T07:41:13","slug":"requirements","status":"publish","type":"bricks_article","link":"https:\/\/academy.bricksbuilder.io\/article\/requirements\/","title":{"rendered":"Requirements"},"content":{"rendered":"\n
To provide you with a cutting-edge site builder for WordPress Bricks uses the most modern technology stack (VueJS 3, etc.) while keeping sufficient backward compatibility. <\/p>\n\n\n\n
Below are a few minimum requirements your server should meet so Bricks runs smoothly:<\/p>\n\n\n\n
Bricks is a self-hosted solution that you download & install on your own WordPress website!<\/em><\/p>\n\n\n\n You can define WP_MEMORY_LIMIT<\/strong> by adding the following code to your wp-config.php<\/strong> file (above the “That’s all, stop editing!” line):<\/p>\n\n\n\n Some web hosts set the PHP memory limit to 8 MB. In that case, you might consider upgrading to a more powerful hosting plan. If your host does not allow you to config this setting by yourself, please get in touch with them.<\/p>\n\n\n\n If you encounter problems uploading larger files to your site (or when downloading high-resolution images from Bricks’ Unsplash integration) there are a few ways to increase the maximum upload file size.<\/p>\n\n\n\n A maximum upload size of 16 MB should suffice. But 64 MB would be ideal. Log into your hosting account and change the following two PHP server settings<\/strong> to:<\/p>\n\n\n\n If you have access to your php.ini<\/strong> file, located in the root directory of your WordPress installation, open it, and modify the following settings:<\/p>\n\n\n\n You can also add the following code to your .htaccess<\/strong> file, but make sure to backup your existing .htaccess file beforehand:<\/p>\n\n\n\n If all above fails, you can try adding the following code to your wp-config.php:<\/p>\n\n\n\n To confirm that your maximum upload file size has been updated successfully, go to Media > Add New<\/strong>. On the bottom of this page, you should see your maximum upload file size.<\/p>\n\n\n\n When you start seeing a message like “Maximum execution time of 30 seconds exceeded” you have to increase the execution time of your website by using one of the following three solutions:<\/p>\n\n\n\n #1: Add the following code to your wp-config.php file (above the “That’s all, stop editing!” line):<\/strong><\/p>\n\n\n\n #2: Backup your .htaccess file and add the following code to it:<\/strong><\/p>\n\n\n\n #3: Add the following code to your php.ini file:<\/strong><\/p>\n\n\n\n <\/p>\n","protected":false},"excerpt":{"rendered":" To provide you with a cutting-edge site builder for WordPress Bricks uses the most modern technology stack (VueJS 3, etc.) while keeping sufficient backward compatibility. Below are a few minimum requirements your server should meet so Bricks runs smoothly: Bricks is a self-hosted solution that you download & install on your own WordPress website! How […]<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":128,"template":"","format":"standard","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/wp\/v2\/bricks_article\/171"}],"collection":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/wp\/v2\/bricks_article"}],"about":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/wp\/v2\/types\/bricks_article"}],"author":[{"embeddable":true,"href":"https:\/\/academy.bricksbuilder.io\/api\/wp\/v2\/users\/1"}],"version-history":[{"count":5,"href":"https:\/\/academy.bricksbuilder.io\/api\/wp\/v2\/bricks_article\/171\/revisions"}],"predecessor-version":[{"id":5921,"href":"https:\/\/academy.bricksbuilder.io\/api\/wp\/v2\/bricks_article\/171\/revisions\/5921"}],"wp:attachment":[{"href":"https:\/\/academy.bricksbuilder.io\/api\/wp\/v2\/media?parent=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}How To Increase WP Memory Limit<\/h2>\n\n\n\n
define( 'WP_MEMORY_LIMIT', '256M' );\n\/* That's all, stop editing! Happy publishing. *\/<\/pre>\n\n\n\n
How To Increase Max File Upload Size<\/h2>\n\n\n\n
\n
upload_max_filesize = 64M\npost_max_size = 64M<\/pre>\n\n\n\n
php_value upload_max_filesize 64M\nphp_value post_max_size 64M<\/pre>\n\n\n\n
@ini_set( 'upload_max_size' , '64M' );\n@ini_set( 'post_max_size', '64M');<\/pre>\n\n\n\n
How To Increase Maximum Execution Time<\/h2>\n\n\n\n
set_time_limit(180);\n\/* That's all, stop editing! Happy publishing. *\/<\/pre>\n\n\n\n
php_value max_execution_time 180<\/pre>\n\n\n\n
max_execution_time = 180<\/pre>\n\n\n\n