How to set up Bitnami WordPress in AWS LightSail

In this tutorial, you can achieve

  • Set up a Bitnami WordPress in AWS LightSail
  • Set up a basic Bitnami configuration
  • sudo vi /opt/bitnami/php/etc/php.ini
    • post_max_size=1024M 
    • upload_max_filesize=1024M
    • memory_limit=2048M
  • sudo vi /opt/bitnami/php/etc/php-fpm.d/www.conf
    • pm=ondemand
  • sudo /opt/bitnami/ctlscript.sh restart
  • define(‘WP_SITEURL’, ‘https://’ . $_SERVER[‘HTTP_HOST’] . ‘/’);
    define(‘WP_HOME’, ‘https://’ . $_SERVER[‘HTTP_HOST’] . ‘/’);

Leave a Comment

Your email address will not be published. Required fields are marked *