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 - dg1

Pages: [1]
PHP / Installation of php 7.x fails
« on: September 23, 2017, 02:56:42 AM »
While trying to install PHP 7.x, installer fails. Does not apply to 7.0/7.1, these install with no issues.


checking pcre install prefix... no
checking libzip... yes
checking for the location of zlib... /usr
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libzip... not found
configure: error: Please reinstall the libzip distribution
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.
Redirecting to /bin/systemctl restart httpd.service

Any ideas why?

Postfix / Warnings when trying to view e-mail in Manage Mail Queue
« on: September 19, 2017, 06:46:44 PM »
I'm getting warnings when trying to view e-mail delivery details in Manage Mail Queue

Warning: [obfuscated](): charset `US-ASCII' not supported, assuming utf-8 in /usr/local/cwpsrv/htdocs/resources/admin/addons/mail_explorer_addon.php on line 0


Warning: [obfuscated](): Requires argument 2, 'TagsWorker', to be a valid callback in /usr/local/cwpsrv/htdocs/resources/admin/addons/mail_explorer_addon.php on line 0

PHP / Cron jobs containing relative paths fail
« on: September 18, 2017, 01:18:39 PM »
It seems, if a PHP script contains something like:

Code: [Select]
It will work properly if opened in browser or CLI, but fail in cron with a message similar to:

Code: [Select]
PHP Warning:
include(../another-file.php): failed to open stream: No such file or directory in /home/account/public_html/cron-test.php on line 3

Scripts can be modified to use absolute paths instead of relative paths, but that's not the best solution for everyone, especially if lots of files are executed using cron jobs.

Is there a fix for this at the control panel (CWP) level?

CentOS-WebPanel Bugs / Segmentation fault caused by
« on: September 18, 2017, 12:59:50 PM »
It seems, after recompiling using PHP Version Switcher v2, the command line (CLI) version of PHP starts triggering this error:

Code: [Select]
PHP 5.6.31 (cli) (built: Sep 18 2017 00:20:10)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend Guard Loader v3.3, Copyright (c) 1998-2015, by Zend Technologies

Segmentation fault

Caused by called in /usr/local/php/php.d/zend.ini

Any ideas why?

Updates / Apache 2.4.27 option missing in Apache Builder (compiler)
« on: September 17, 2017, 02:35:09 PM »
2.4.27 installed, but no option to recompile without downgrade.

Only options available are 2.4.23, 2.4.25 and 2.4.26

CentOS-WebPanel GUI / Can't create new account
« on: December 03, 2016, 09:26:12 PM »
Trying to create a new account with username "ns"

Code: [Select]
Error: Warning! Username ns already exists in /etc/passwd!
Except it doesn't exist. The only character match in /etc/passwd is a word "console".

Any ideas?

PHP / Error deleting accounts
« on: December 03, 2016, 09:20:38 PM »
Clicking on red delete button fails, error:

Code: [Select]
Notice: Undefined variable: ssh_exec in /usr/local/cwpsrv/htdocs/resources/admin/modules/list_accounts.php on line 0

Fatal error: Function name must be a string in /usr/local/cwpsrv/htdocs/resources/admin/modules/list_accounts.php on line 0

Any ideas?

Pages: [1]