• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!

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