This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Problems After PHP7 upgrade
#3
RE: Problems After PHP7 upgrade
Hi!

It should be wrong Vhost config.

Take a look at: /etc/sentora/configs/apache/httpd-vhosts.conf

Maybe for centOS the path is different.

The panel section should be like this:


Code:
# Configuration for Sentora control panel.
<VirtualHost *:80>
ServerAdmin zadmin@localhost
DocumentRoot "/etc/sentora/panel/"
ServerName panel.domain.com

<Directory "/etc/sentora/panel/">
    Options +FollowSymLinks -Indexes
    AllowOverride All
    Require all granted
</Directory>

AddType application/x-httpd-php .php
php_admin_value sp.configuration_file "/etc/sentora/configs/php/sp/sentora.rules"

ErrorLog "/var/sentora/logs/sentora-error.log"
CustomLog "/var/sentora/logs/sentora-access.log" combined
CustomLog "/var/sentora/logs/sentora-bandwidth.log" common

ErrorDocument 510 /etc/static/errorpages/510.html
ErrorDocument 404 /etc/static/errorpages/404.html
ErrorDocument 403 /etc/static/errorpages/403.html
ErrorDocument 500 /etc/static/errorpages/500.html
</VirtualHost>

Best regards.
Reply
Thanks given by:


Messages In This Thread
Problems After PHP7 upgrade - by bloods - 11-21-2019, 02:57 PM
RE: Problems After PHP7 upgrade - by Ron-e - 11-22-2019, 09:29 PM
RE: Problems After PHP7 upgrade - by FernandoGarcia - 11-23-2019, 12:55 AM
RE: Problems After PHP7 upgrade - by Jettaman - 12-03-2019, 10:36 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Possible to upgrade php to version 5.6 on Sentora 1.0.3 on Ubuntu? kellenw 3 11 ,764 08-18-2018, 08:40 PM
Last Post: inkoop@topmatica.nl
Upgrade sentora php to 5.6.30 luiziz 5 11 ,539 08-17-2018, 03:40 AM
Last Post: millzee
All time problems with Cron franmm25 6 12 ,022 07-03-2018, 07:08 AM
Last Post: Me.B

Forum Jump:


Users browsing this thread: 1 Guest(s)