Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[problem] Real IP with Varnish 4, Apache and Wordpress

I tried your suggestion from here -, but after I modified in php.ini an reboot the server, the result is blank pages.
Instead, it works when I copy the code in wp-config.php. But I would like to make to work with apache and php.
Do you have any suggestion?

Varnish 4, Wordpress 4.5, Apache 2.4.7 on Ubuntu 14.04 server

Hello, where are you getting the blank pages? I think perhaps you are modifying the wrong file. Usually in Wordpress sites you have many folders with each theme, and each one of these has config files, so sometimes it's easy to edit the wrong file.

Thanks for any additional details you can provide to understand this issue.
I use Sentora as VPS panel on Ubuntu 14.04. I modified /etc/php5/apache2/php.ini.
Did you check that the php.ini file you're editing is the one from the theme you're using? As I said, sometimes it's easy to edit the wrong file.

Forum Jump: