• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Server Error 500 Internal Server Error

elandrian

New Pleskian
Server operating system version
Ubuntu 20.04 (64 Bit)
Plesk version and microupdate number
18.0.59 #1
Hello everyone. I didn't find the answer to my problem. That's why I'm writing. When installing or reinstalling the site, Server Error 500 is an internal server error. In the journal, oibok writes [Wed. March 06, 00:00:50.928512 2024] [core:warning] [pid 426930:tid 140208368498432] [client 172.71.250.157:0] /var/www/vhosts/fd.com/httpdocs/.htaccess: Invalid command 'php_value', possibly written with an error or defined using a module not included in the server configuration. Which command should be written in htaccess. Or what needs to be installed. I can't figure it out.
 

Attachments

  • 2.jpg
    2.jpg
    7.3 KB · Views: 5
  • 55.jpg
    55.jpg
    24.8 KB · Views: 7
  • dfgrf.jpg
    dfgrf.jpg
    90.9 KB · Views: 7
The php_value directive is only available if the vendor PHP version of the operating system is installed on the server. Else this directive cannot be used. Instead, enter the desired PHP settings into the "Additional directives" on the PHP configuration page.
 
Yes, but as the correct input field is not shown I suppose you are not a server admin, but a user in a subscription account. Only server admins can edit the PHP settings.
 

[core:alert] /var/www/vhosts/file.com/httpdocs/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration

Please tell me which commands should be written in
.htaccess I've already broken my head.
 
The error message means that no vendor PHP is installed on the system. For that reason, php_value cannot be used in the .htaccess file. Instead, you need to remove the php_value line(s) from .htaccess and enter the desired settings into the additional PHP directives in Plesk instead.
 
Back
Top