Using php.ini to enhance speed for Wordpress/Drupal etc
by Doug Cone, published Wednesday, June 25th, 2008 at 9:50 am
Want a quick hack to boost speed of your pages? There are two ways to accomplish this.
- Login to your server as root or normal with sudo privileges.

- open your php.ini with vi (command may vary depending on where your php.ini file is located)
- Find and uncomment (default is disabled), or add the following line:
vi /etc/php.inizlib.output_compression = On - This method enhances every site/page using php on the server by sending compressed files to clients that support it.
- The second method will affect only a single site and requires only access to your .htacess file.
- open your .htacces file
- add the following line
php_flag zlib.output_compression On





