Try using a php info file to display server settings?
Thread Starter
Leiif
(@leiif)
“Try using a php info file to display server settings?”
Well I made a info.php file and put it in the root of the public_html but I don’t know what it does if anything. It has this in it:
<? phpinfo(); ?>
So what will that do?
Still need some assistance.
Best,
Leiif
It displays some info about the php configuration to make sure that it has been compiled with zlip.
Then, I would look at wp-config.php, .htaccess and the wp settings page to see whether compression has been enabled elsewhere.
Thread Starter
Leiif
(@leiif)
Hello blau,
Where does that display the info?
This is what is in my htaccess(site url in place of *****) :
# BEGIN W3 Total Cache
<IfModule mod_setenvif.c>
SetEnvIfNoCase Accept-Encoding (gzip) APPEND_EXT=.$1
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} \/$
RewriteCond %{REQUEST_URI} !(\/wp-admin\/|\/xmlrpc.php|\/wp-(app|cron|login|register).php|wp-.*\.php|index\.php) [OR]
RewriteCond %{REQUEST_URI} (wp-comments-popup\.php|wp-links-opml\.php|wp-locations\.php) [NC]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =””
RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|wordpress_\[a-f0-9\]\+|wordpress_logged_in) [NC]
RewriteCond %{HTTP_USER_AGENT} !(bot|ia_archive|slurp|crawl|spider) [NC]
RewriteCond /home/prida/public_html/*************.com/wp-content/w3tc/pgcache/$1/_default_.html%{ENV:APPEND_EXT} -f
RewriteRule (.*) wp-content/w3tc/pgcache/$1/_default_.html%{ENV:APPEND_EXT} [L]
</IfModule>
# END W3 Total Cache
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Thread Starter
Leiif
(@leiif)
also I searched the wp-config and found nothing
Thread Starter
Leiif
(@leiif)
nor any indication on the settings page … I think I may need a php.ini file to override the server but I don’t know how to set that up and I don’t know if it is the server. This site is hosted on namecheap hosting. They use cpanel
Best,
Leiif
Thread Starter
Leiif
(@leiif)
Am I supposed to turn of the gzip in the minify settings area?
Thread Starter
Leiif
(@leiif)
I will add a link if I can get help to figure this out.
Your server’s php.ini file is set to do compression and that setting needs to be disabled. Please open a support with your hosting provider to rectify the issue it should take a few minutes.
Thread Starter
Leiif
(@leiif)
I will contact them today and update when all is working.
Thread Starter
Leiif
(@leiif)
My host is not so newbie friendly as they only use email for support. This is from there “knowledgebase” :
////////////////////////////////////////
How do I change PHP settings?
You can manage all PHP settings with the help of your local php.ini file. To use it you should just create a php.ini file under a folder with your PHP scripts with the necessary PHP settings.
For example, if you need to change the upload_max_filesize or register_globals for one of your scripts under your public_html, you should create a php.ini file under the folder with the following content:
[PHP]
upload_max_filesize = 8M
register_globals = On
//////////////////////////////////////////////////////
Any place that I can find out how to do this php stuff while I wait for “support” ?
Thanks,
Leiif
Thread Starter
Leiif
(@leiif)
OK it is fixed and working.
Hey Frederick,
I was able to get my site fixed to work with the plugin. It was an issue with the php.ini . All is well now. I went to put your link on my site but I don’t like that I get this pop-up from your site. It says – xd_receiver.htm – and if I let it load a file by that name loads into my temp folder but the tab is blank. Not a good thing for visitors. I did put “Optimized by W3 Edge” in my footer but will leave out the link for now.
Best,
Leiif
I’m glad it worked out Leiif.
How did you disable your Zlib.output_compression Leiif?
I’m having the exact same problem.
Thread Starter
Leiif
(@leiif)
Sorry satyre08 I didn’t get notice of your post. It has been a while and I just messed it up again somehow. I think I tried a button in cpanel that says optimize site. Now its all screwed up again. When I figure it out again I will post the solution.
Best,
Leiif