Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Nirvak

Pages: [1]
1
CentOS 6 Problems / Error in httpd syntax after CWP update
« on: June 09, 2017, 08:00:43 PM »
Hello,

I followed this guide http://forum.centos-webpanel.com/centos-6-problems/centos6-upgrade/ to update from version 0.9.8.154, but I got this error:


Quote
Starting httpd: AH00526: Syntax error on line 66 of /usr/local/apache/conf/httpd.conf:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
                                                           [FAILED]

Can you help me?

EDIT: After rebuilding Apache the error changed in:

Quote
Starting httpd: AH00526: Syntax error on line 11 of /usr/local/apache/conf.d/mod_security.conf:
Invalid ServerName "*" use ServerAlias to set multiple server names.
                                                           [FAILED]

On line 11 I have:

Quote
ServerName *

2
CentOS 6 Problems / Error with ionCube Encoder version
« on: June 09, 2017, 06:46:28 PM »
Hello,

I have an error 500 on CWP login page:
Quote
[Fri Jun 09 20:29:27 2017] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error:  <br>The file <b>/usr/local/cwpsrv/htdocs/admin/index.php</b> was encoded with the PHP 5.6 ionCube Encoder and requires PHP 5.6 to be installed. in Unknown on line 0

How can I solve this issue?

Quote
# php -v
PHP 5.4.45 (cli) (built: Jun  9 2017 18:53:59)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v6.0.5, Copyright (c) 2002-2016, by ionCube Ltd.

Should I update my PHP version to 5.6? If yes, can you describe how?

Pages: [1]