vestacp 500 internel server error


vestacp connect() failed (111 connection refused) while connecting to upstream

check httpd is running or not

systemctl start httpd

if not

systemctl status httpd -l

if you get

Invalid command ‘php_admin_value’ error

The “php_admin_value” lines in the Apache config are specific to mod_php. That is, mod_php needs to be loaded for those to work.
If you’re no longer using mod_php, you’d need to remove any reference to “php_admin_value” in the Apache config… those would typically be in the .conf files in /etc/apache2/sites-enabled.
Those can be commented out, and then once that’s done, you’d need to restart Apache.

yum install mod_php

Leave a Comment

Your email address will not be published. Required fields are marked *

Open chat