Author Topic: PHP info  (Read 6348 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
PHP info
« on: August 31, 2018, 04:14:21 PM »
Hi All,

seeing a strange issue, on a fresh build i have used the php switch to put me up to 7.2.9. the php info links works fine.

the second i switch webservers up to Apache & Varnish Cache & Nginx Reverse Proxy the php info stops working with error

Warning: file_get_contents(http://ipaddress/phpinfo.php): failed to open stream: Connection refused in /usr/local/cwpsrv/htdocs/resources/admin/modules/php_info.php on line 0


any one got any ideas

Kind Regards
« Last Edit: August 31, 2018, 04:36:09 PM by mmain »

Offline
*
Re: PHP info
« Reply #1 on: September 06, 2018, 10:27:53 AM »
Solved, its a nginx issues.

Offline
*
Re: PHP info
« Reply #2 on: December 24, 2018, 02:05:48 PM »
Solved, its a nginx issues.
Can you provide more details about your solution?

My CWP panel is behind a gateway device so I have activated the NAT-ed network settings. I get this error when I use my public IP as my Shared IP. I do not get the error if I change my Shared IP to be the same as my NAT-ed IP but CWP Support is telling me that the Shared IP must be set to my public IP. The problem is that CWP uses the Shared IP to access the phpinfo.php file. The public IP should not be used to access the phpinfo.php file if you are NAT-ed!!!

How can this be fixed?
« Last Edit: December 24, 2018, 03:00:18 PM by jeffshead »