Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Dec 30, 2025, 03:33 AM

Title: Domain in Plesk shows 500 internal server error: Invalid command, perhaps
Post by: Suhitha on Dec 30, 2025, 03:33 AM
Question: Domain in Plesk shows 500 internal server error: Invalid command, perhaps misspelled or defined by a module not included in the server configuration


Applicable to:



Symptoms


500 internal server error

[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
Note: directive php_value in the error message may differ. The solution will use php_value as an example.


Cause

Website's .htaccess file contains a directive that is not supported or is incorrect.


Resolution

1.Log into Plesk

2.Navigate to Domains > example.com > File Manager, open .htaccess file and comment out the lines beginning with php_value by prepending a # character