Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
litespeed_wiki:plesk:php_500_error [2019/12/27 17:28] Lisa Clarke Copyediting |
litespeed_wiki:plesk:php_500_error [2020/01/07 16:33] qtwrk |
||
---|---|---|---|
Line 5: | Line 5: | ||
* ''/var/www/vhosts/example.com/httpdocs/'' | * ''/var/www/vhosts/example.com/httpdocs/'' | ||
- | * ''/var/www/vhosts/sub1.example.com/httpdocs/'' | + | * ''/var/www/vhosts/example.com/sub1.example.com/'' |
- | * ''/var/www/vhosts/sub2.example.com/httpdocs/'' | + | * ''/var/www/vhosts/example.com/sub2.example.com/'' |
You may see the 500 error in either the parent domain or one of the subdomains, depending on which domain is accessed first and where lsphp is started. You'll see an entry like this in the debug log: | You may see the 500 error in either the parent domain or one of the subdomains, depending on which domain is accessed first and where lsphp is started. You'll see an entry like this in the debug log: | ||
Line 20: | Line 20: | ||
The ''{WEBSPACEROOT}'' variable is set to ''/var/www/vhosts/example.com/'', which is valid for all subdomains inside this same account. | The ''{WEBSPACEROOT}'' variable is set to ''/var/www/vhosts/example.com/'', which is valid for all subdomains inside this same account. | ||
- | ==== Solutions: ==== | + | ===== Solutions: ===== |
There are several ways to solve this issue: | There are several ways to solve this issue: |