Php-sites does not work

Created:

2016-11-16 13:08:21 UTC

Modified:

2017-04-24 11:23:54 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Php-sites does not work

Applicable to:

  • Plesk 12.0 for Linux

Symptoms

  • Php-sites does not work. There is nothing shown in the website access log and error log.

  • Autoinstaller also fails with:

    ...     
    PHP_5.6.21/php56-5.6.21-cos7-x86_64.plesk12.inf3: Error: Empty reply from server, retry...

Cause

Network issues.

Resolution

  1. Place the affected website in server hosts:
    # cat /etc/hosts
    1.1.1.1 example.com

where 1.1.1.1 is IP of subscription.

  1. Check if the website is available from the localhost:
    # curl -vk http://example.com

if the output shows something like:

    <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
...

then check that ports 80 , 443 are not filtered with system firewall and network firewall. Also make sure the connection is stable.

Have more questions? Submit a request
Please sign in to leave a comment.