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.


Messages - dg1

Pages: [1] 2
1
PHP / Re: PHP Selector
« on: December 06, 2018, 11:15:23 PM »
What about instructions for PHP-FPM Selector (v3)?

2
PHP / Re: PHP-FPM and Apache2 issue
« on: December 06, 2018, 10:24:13 PM »
Just skip the PHP-FPM part (first screen), then reconfigure Apache as requested (2nd screen), keeping everything at default, no PHP-FPM and the message should go away.

PHP-FPM is broken for many people here, so don't use it yet unless you need to.

It should have been tested more thoroughly before releasing it.

3
How to / Re: How to change cwpsrvd Listen port (CWP)
« on: June 13, 2018, 05:43:32 AM »
It seems in newer versions of CWP (0.9.8.667 or newer), older instructions are not applicable anymore.

The file to edit is: /usr/local/cwpsrv/conf/cwpsrv.conf

HTTP / NON SSL ports are around lines 16-17

HTTPS / SSL ports are around lines 47-48

CSF (firewall) configuration file to edit is unchanged: /etc/csf/csf.conf

4
PHP / Re: PHP OpCache
« on: June 12, 2018, 02:23:18 AM »
But CWP finally has support for DSO and PHP-FPM handlers, so OpCache should work now?

5
PHP / Re: Installation of php 7.x fails
« on: September 26, 2017, 04:38:00 PM »
PHP 7.1 installs 7.1.7

How to get 7.1.9 then if 7.x fails?

Also, if 7.x is for advanced users or experimental, it should be marked as such. Right?

6
Installation / Re: Horde Webmail Installation
« on: September 24, 2017, 08:27:23 PM »
These instructions do not seem to work for Centos 7. Too many warnings / errors about deprecated and obsolete files.

Does anyone have updated instructions? Preferably more detailed.

7
PHP / Re: Cron jobs containing relative paths fail
« on: September 23, 2017, 03:40:47 AM »
OK, this works for files in the same folder by supplying the absolute URL, but what about relative paths?

What's the replacement for ('../abc.php')?

How about ('../../abc.php')?

Or ('./abc.php')?

8
PHP / Re: Installation of php 7.x fails
« on: September 23, 2017, 03:32:32 AM »
An obvious fix didn't work.

Code: [Select]
yum install libzip
Just resulted in another error:

checking libzip... yes
checking for the location of zlib... /usr
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for libzip... configure: error: system libzip must be upgraded to version >= 0.11
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.


9
PHP / Re: built custom version using PHP Selector, how do I set as default?
« on: September 23, 2017, 02:59:55 AM »
Use PHP Version Switcher under PHP Settings if you want to change the default PHP version.

PHP Selector is for additional PHP versions, which you specify in .htaccess

10
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.

Error:

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?

11
Updates / Re: Apache 2.4.27 option missing in Apache Builder (compiler)
« on: September 22, 2017, 01:53:25 PM »
Yes, it is now available with CWP v0.9.8.358

12
Updates / Re: Apache 2.4.27 option missing in Apache Builder (compiler)
« on: September 21, 2017, 01:25:18 PM »
Yes, that worked. Thanks for the tip.

I was just wondering why it's not available in the Apache Re-Build pulldown menu here:


13
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

and

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

14
PHP / Re: Cron jobs containing relative paths fail
« on: September 18, 2017, 09:41:11 PM »
An example of a fix (not tested thoroughly) could be to include this line in the beginning of each script that is executed via cron.

Code: [Select]
chdir(__DIR__);
Still, would be nice to see a fix on CWP level.

15
CentOS-WebPanel Bugs / Re: Segmentation fault caused by ZendGuardLoader.so
« on: September 18, 2017, 07:31:48 PM »
Somehow, the PHP Version Switcher re-build created a wrong entry.

Affected file: /usr/local/php/php.d/zend.ini

Code that causes "segmentation fault" error:
Code: [Select]
extension=/usr/local/zend/5.6/ZendGuardLoader.so
Corrected code (no error)
Code: [Select]
zend_extension=/usr/local/zend/5.6/ZendGuardLoader.so
FYI

Pages: [1] 2