- Plesk for Linux
A website in Plesk does not work with the following error:
500 internal server error
Errors similar to the following can be found in the domain's error log at Domains > example.com > Logs:
[Wed Aug 16 00:40:46.215457 2017] [core:alert] [pid 5307:tid 140079947310848] [client 203.0.113.2:44785] /var/www/vhosts/example.com/httpdocs/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
php_valuein the error message may differ. The solution will use php_value as an example.
.htaccess file contains a directive that is not supported or is incorrect.
Navigate to Domains > example.com > File Manager, open
.htaccessfile and comment out the lines beginning with
php_valueby prepending a
Please sign in to leave a comment.