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?

Artjom B.
  • 61,146
  • 24
  • 125
  • 222
Ramesh Murugesan
  • 4,727
  • 7
  • 42
  • 67
  • 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. – Artjom B. Mar 06 '15 at 11:28

3 Answers3

10

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

Ramesh Murugesan
  • 4,727
  • 7
  • 42
  • 67
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/

Rodolfo Souza
  • 300
  • 4
  • 5
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
user1503606
  • 3,872
  • 13
  • 44
  • 78