Apache giving error in
12-06-2024, 03:27 AM
(This post was last modified: 12-06-2024, 03:50 AM by kevwebbie.)
Apache wont start because there is an error in /etc/sentora/configs/apache/httpd-vhosts.conf but this file is generated by Sentora. How to I regenerate the file if I cant start apache? Any ideas?
Sorry the error is in the php_admin_value variable in this file /etc/sentora/configs/apache/httpd-vhosts.conf
Here are the relevant lines in the conf file:
9 Listen 80
10
11 # Configuration for Sentora control panel.
12 <VirtualHost *:80>
13 ServerAdmin redacted
14 DocumentRoot "/etc/sentora/panel/"
15 ServerName cp.mydomain.com
16 AddType application/x-httpd-php .php7 .php
17 php_admin_value sp.configuration_file "/etc/sentora/configs/php/sp/sentora.rules"
Does anyone know how I can fix this anyway easily?
Sorry the error is in the php_admin_value variable in this file /etc/sentora/configs/apache/httpd-vhosts.conf
Here are the relevant lines in the conf file:
9 Listen 80
10
11 # Configuration for Sentora control panel.
12 <VirtualHost *:80>
13 ServerAdmin redacted
14 DocumentRoot "/etc/sentora/panel/"
15 ServerName cp.mydomain.com
16 AddType application/x-httpd-php .php7 .php
17 php_admin_value sp.configuration_file "/etc/sentora/configs/php/sp/sentora.rules"
Does anyone know how I can fix this anyway easily?