How to disable pagespeed in the Bitnami stack?
Asked Answered
C

3

8

The Bitnami stack has pagespeed enabled by default. While in development it won't be used. How can I disable pagespeed in the bitnami stack?

Cocytus answered 6/3, 2015 at 6:47 Comment(1)
I edited the title to be a proper question in a single sentence. I applied the same improvement to the body of your question. Disable is a better word than stop. I removed the reference to your answer from the question. I changed the correct tag for pagespeed according to the tag excerpt.Bathymetry
C
10

change ModPagespeed on to ModPagespeed off in lampstack-x.x.x/apache2/conf/pagespeed.conf then restart your server

Cocytus answered 6/3, 2015 at 6:47 Comment(0)
N
7

How to disable PageSpeed?

To disable PageSpeed, follow these steps:

Comment out the following lines in the installdir/apache2/conf/httpd.conf file:

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

ref: https://docs.bitnami.com/installer/components/pagespeed/

Nettle answered 3/2, 2017 at 15:40 Comment(1)
installdir = ~/stack/apache2/confBunkum
L
0

You can do this on a ligthsail box with WordPress with the following commands.

sudo vim /opt/bitnami/apache2/conf/httpd.conf

Search the file by typing /pagespeed

And press I to insert and then comment out these two lines.

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

Restart apache

sudo /opt/bitnami/ctlscript.sh restart apache
Lalalalage answered 13/10, 2020 at 13:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.