- Plesk for Linux
Unable to view domain's php info via Plesk > Domains > example.com > PHP Settings > View the phpinfo() page after nginx was removed from the server:
PLESK_ERROR: Unable to retrieve information about the PHP configuration
The domain does not work:
The ports 80 or 443 are closed while checking them from external server:
# nmap 203.0.113.2 -p80,443
PORT STATE SERVICE
80/tcp closed http
443/tcp closed https
The ports 80 and 443 are not listened by any service:
# netstat -tunap | egrep ':80|:443'
Apache is configured to listen to 7080/7081 ports:
# apache2ctl -S | grep NameVirtualHost
203.0.113.2:7081 is a NameVirtualHost
203.0.113.2:7080 is a NameVirtualHost
Nginx was removed not completely, causing apache misconfiguration. When nginx is not present on a server, apache should listen to 80/443 ports.
Go to Plesk > Tools & Settings > Updates & Upgrades > Add/Remove Components and install nginx back.
Go to Plesk > Tools & Settings > Services Management and stop nginx to reconfigure Apache to listen to proper 80 and 443 ports.
Remove nginx if it is not required via Plesk > Tools & Settings > Updates & Upgrades > Add/Remove Components.