• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

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