How to Remove Bitnami Banner on LAMP Stack for AWS Cloud

Out of the box, Bitnami will display a Bitnami banner and image at the bottom right of a newly deployed WordPress site. To remove this banner, connect to the server using SSH. Then issue the following commands.

Step 1


Replace APPNAME with the directory name of the website you are working on

sudo /opt/bitnami/apps/APPNAME/bnconfig –disable_banner 1

The banner is disabled this by changing the setting to 1.

Step 2


Restart the Bitnami LAMP Stack for AWS Cloud instance.

sudo /opt/bitnami/ctlscript.sh restart

Once restarted, the banner should be gone. Refresh the website you are working on to ensure that the banner has been removed.

How to Disable Bitnami LAMP Stack for AWS Cloud Caching

On Bitnami LAMP Stack for AWS Cloud, when making code changes, the changes are not immediately visible once the changes have been saved. Even after several refreshes, the server caches the pages. Changes are not visible until the pages are refreshed many times. To disable caching perform the following steps.

Step 1


PageSpeed is enabled. Disable it by editing the httpd.conf file found at: /opt/bitnami/apache2/conf/httpd.conf

Include conf/pagespeed.conf
Include conf/pagespeed_libraries.conf

Comment out the following two lines. Save the file and exit.

Step 2


PHP has Op Cache enabled. Disable it by editing the php.ini file found at: /opt/bitnami/php/etc/php.ini

opcache.enable=1
opcache.enable_cli=1

Disable this by changing the 1 to 0. Save the file and exit.

Step 3


Restart the Bitnami LAMP Stack for AWS Cloud instance.

sudo /opt/bitnami/ctlscript.sh restart

Your server should no longer cache the pages. Development work should be much easier. When development is complete, you may want to enable PageSpeed and enable PHP Op Cache.