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.
Pages: [1]
1
PHP / Problem with memcached and PHP 7.3 compiling due to Zend API Change in 7.3
« on: February 05, 2019, 11:10:23 PM »
Problem with memcached and PHP 7.3 compiling due to Zend API Change in 7.3 (see log tail):
https://cismon.net/2018/02/06/Changes-of-Zend-API-in-PHP-7.3/
Unfortunately I don't have the experience to apply the necessary change for resolve and wanted to see if others may have addressed the issue.
Thoughts and/or advice?
Code: [Select]
/bin/sh /usr/local/src/php-memcached/libtool --mode=compile cc -I/opt/alt/php73/usr/include/php -I. -I/usr/local/src/php-memcached -DPHP_ATOM_INC -I/usr/local/src/php-memcached/include -I/usr/local/src/php-memcached/main -I/usr/local/src/php-memcached -I/opt/alt/php73/usr/include/php -I/opt/alt/php73/usr/include/php/main -I/opt/alt/php73/usr/include/php/TSRM -I/opt/alt/php73/usr/include/php/Zend -I/opt/alt/php73/usr/include/php/ext -I/opt/alt/php73/usr/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -I/opt/alt/php73/usr/include/php -I/opt/alt/php73/usr/include/php/main -I/opt/alt/php73/usr/include/php/TSRM -I/opt/alt/php73/usr/include/php/Zend -I/opt/alt/php73/usr/include/php/ext -I/opt/alt/php73/usr/include/php/ext/date/lib -I/usr/local/include -c /usr/local/src/php-memcached/php_memcached.c -o php_memcached.lo
mkdir .libs
cc -I/opt/alt/php73/usr/include/php -I. -I/usr/local/src/php-memcached -DPHP_ATOM_INC -I/usr/local/src/php-memcached/include -I/usr/local/src/php-memcached/main -I/usr/local/src/php-memcached -I/opt/alt/php73/usr/include/php -I/opt/alt/php73/usr/include/php/main -I/opt/alt/php73/usr/include/php/TSRM -I/opt/alt/php73/usr/include/php/Zend -I/opt/alt/php73/usr/include/php/ext -I/opt/alt/php73/usr/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -I/opt/alt/php73/usr/include/php -I/opt/alt/php73/usr/include/php/main -I/opt/alt/php73/usr/include/php/TSRM -I/opt/alt/php73/usr/include/php/Zend -I/opt/alt/php73/usr/include/php/ext -I/opt/alt/php73/usr/include/php/ext/date/lib -I/usr/local/include -c /usr/local/src/php-memcached/php_memcached.c -fPIC -DPIC -o .libs/php_memcached.o
/usr/local/src/php-memcached/php_memcached.c: In function 'zim_Memcached___construct':
/usr/local/src/php-memcached/php_memcached.c:1282:20: error: lvalue required as left operand of assignment
GC_REFCOUNT(&le) = 1;
^
make: *** [php_memcached.lo] Error 1
/bin/sh /usr/local/src/php-memcached/libtool --mode=compile cc -I/opt/alt/php73/usr/include/php -I. -I/usr/local/src/php-memcached -DPHP_ATOM_INC -I/usr/local/src/php-memcached/include -I/usr/local/src/php-memcached/main -I/usr/local/src/php-memcached -I/opt/alt/php73/usr/include/php -I/opt/alt/php73/usr/include/php/main -I/opt/alt/php73/usr/include/php/TSRM -I/opt/alt/php73/usr/include/php/Zend -I/opt/alt/php73/usr/include/php/ext -I/opt/alt/php73/usr/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -I/opt/alt/php73/usr/include/php -I/opt/alt/php73/usr/include/php/main -I/opt/alt/php73/usr/include/php/TSRM -I/opt/alt/php73/usr/include/php/Zend -I/opt/alt/php73/usr/include/php/ext -I/opt/alt/php73/usr/include/php/ext/date/lib -I/usr/local/include -c /usr/local/src/php-memcached/php_memcached.c -o php_memcached.lo
cc -I/opt/alt/php73/usr/include/php -I. -I/usr/local/src/php-memcached -DPHP_ATOM_INC -I/usr/local/src/php-memcached/include -I/usr/local/src/php-memcached/main -I/usr/local/src/php-memcached -I/opt/alt/php73/usr/include/php -I/opt/alt/php73/usr/include/php/main -I/opt/alt/php73/usr/include/php/TSRM -I/opt/alt/php73/usr/include/php/Zend -I/opt/alt/php73/usr/include/php/ext -I/opt/alt/php73/usr/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -I/opt/alt/php73/usr/include/php -I/opt/alt/php73/usr/include/php/main -I/opt/alt/php73/usr/include/php/TSRM -I/opt/alt/php73/usr/include/php/Zend -I/opt/alt/php73/usr/include/php/ext -I/opt/alt/php73/usr/include/php/ext/date/lib -I/usr/local/include -c /usr/local/src/php-memcached/php_memcached.c -fPIC -DPIC -o .libs/php_memcached.o
/usr/local/src/php-memcached/php_memcached.c: In function 'zim_Memcached___construct':
/usr/local/src/php-memcached/php_memcached.c:1282:20: error: lvalue required as left operand of assignment
GC_REFCOUNT(&le) = 1;
^
make: *** [php_memcached.lo] Error 1
/usr/local/cwpsrv/htdocs/resources/conf/php_selector/external_modules/7.3/memcached.sh: line 25: Creating config file: command not found
Redirecting to /bin/systemctl restart httpd.service
Build Completed
###################
As I understand this why (see link): https://cismon.net/2018/02/06/Changes-of-Zend-API-in-PHP-7.3/
Unfortunately I don't have the experience to apply the necessary change for resolve and wanted to see if others may have addressed the issue.
Thoughts and/or advice?
2
PHP Selector / PHP Selector v2 doesn't have zend-opcache option available.
« on: February 04, 2019, 08:43:19 AM »
is there a way to add zend-opcache to the PHP Selector v2 options list? It's available in the PHP-FPM Selector (NEW), but not the PHP Selector v2? Looking for max flexibility with an Apache only setup.
Any advice?
Thanks!
Any advice?
Thanks!
3
E-Mail / Warning: mail(): Multiple or malformed newlines found in additional_header in /u
« on: February 10, 2018, 06:15:48 PM »
When viewing a mail queue entry, such as a bounce or RBL and then attempting to use the 'Send this email to:' option presents the following error message upon clicking 'SEND'.
The choice of 'send to' e-mail address appears irreverent, as I've tried to send to many different addresses with varying domains, we only have a few bounces due to the inability to contact AT&T's postmaster, alas, I'd like to forward the generated emails to either myself or directly to the person with an alternate address, unfortunately I'm unable to.
Any idea what's causing this? Our Postfix configuration is working properly, we have a proper rDNS, hostname.domainname and such and we're currently not using the AV scanner to avoid further complications.
Any help would be great!
Note: We're on the latest version of CWP7pro (CWPpro version: 0.9.8.458), although this has occurred in prior version as well, most recently recorded in 0.9.8.444)
Thanks!
Code: [Select]
Warning: mail(): Multiple or malformed newlines found in additional_header in /usr/local/cwpsrv/htdocs/resources/admin/modules/mail_queue.php on line 0
Error while sending to: username@domainname.com
The choice of 'send to' e-mail address appears irreverent, as I've tried to send to many different addresses with varying domains, we only have a few bounces due to the inability to contact AT&T's postmaster, alas, I'd like to forward the generated emails to either myself or directly to the person with an alternate address, unfortunately I'm unable to.
Any idea what's causing this? Our Postfix configuration is working properly, we have a proper rDNS, hostname.domainname and such and we're currently not using the AV scanner to avoid further complications.
Any help would be great!
Note: We're on the latest version of CWP7pro (CWPpro version: 0.9.8.458), although this has occurred in prior version as well, most recently recorded in 0.9.8.444)
Thanks!
4
PHP Selector / What is the best way to update domain versions of PHP? (i.e. v7.0.18 -> v7.0.27)
« on: February 06, 2018, 10:06:48 PM »
We utilize PHP v7.0.18 for the users/domains, although version v5.6.30 is available (by of the CWP application), the usage of v7.0.xx has been chosen as the default user/domain choice, alas given security patches, bug revisions, we would like to update to the latest version, specifically PHP v7.0.27.
In the past I utilized a script that would download, add flags, modules and manually compile the version needed, then modify any results that required attention; as I recall this was based on a script from an early version of CWP within /usr/local/src, that script is no longer available and/or is embedded/encrypted and while it's possible I could update an older version of that manual script for PHP v7.0.27, it seems that CWP7 would have this ability available within?
I know that PHP v7.0.27 exists within the PHP version switcher (for the CWP application), so one could assume the scripts are in place as is the ability to download the sources needed for that version; is this just a matter of going into the CWP PHP selector and recompiling PHP 7.0 (installed) with the necessary flags? Then once completed, run my scripts (as needed) to add modules (i.e. memcached/ImageMagick, etc).
(Reference Note: Our PHP 7.x in the PHP selection is version 7.2.0-dev located in /opt/alt/php7 and our PHP 7.0.18 is located within /opt/alt/php70 as originally prepared by CWP7)
That all said, will simply selecting the PHP v7.0 option to compile within the PHP Selector download and compile the latest version available (i.e. v7.0.27) or will it simply recompile the current 7.0.18 version again?
I'm looking forward to any responses.
Thanks!
In the past I utilized a script that would download, add flags, modules and manually compile the version needed, then modify any results that required attention; as I recall this was based on a script from an early version of CWP within /usr/local/src, that script is no longer available and/or is embedded/encrypted and while it's possible I could update an older version of that manual script for PHP v7.0.27, it seems that CWP7 would have this ability available within?
I know that PHP v7.0.27 exists within the PHP version switcher (for the CWP application), so one could assume the scripts are in place as is the ability to download the sources needed for that version; is this just a matter of going into the CWP PHP selector and recompiling PHP 7.0 (installed) with the necessary flags? Then once completed, run my scripts (as needed) to add modules (i.e. memcached/ImageMagick, etc).
(Reference Note: Our PHP 7.x in the PHP selection is version 7.2.0-dev located in /opt/alt/php7 and our PHP 7.0.18 is located within /opt/alt/php70 as originally prepared by CWP7)
That all said, will simply selecting the PHP v7.0 option to compile within the PHP Selector download and compile the latest version available (i.e. v7.0.27) or will it simply recompile the current 7.0.18 version again?
I'm looking forward to any responses.
Thanks!
5
PHP Selector / What is the recommended version of PHP for the CWP7 Pro application?
« on: February 06, 2018, 09:38:41 PM »
I've been using CWP7 Pro for some time and originally the CWP application installed and utilizes version v5.6.30 of PHP, although that was over two years ago and I wanted to inquire what the recommended/ideal version of PHP is for the application; does that still remain v5.6.30 or has it changed to a newer version?
(FWIW, this isn't about the PHP versions available to user/domain/websites, but solely the CWP application itself).
I'm looking for forward to your responses.
Thanks!
(FWIW, this isn't about the PHP versions available to user/domain/websites, but solely the CWP application itself).
Quote
Application Version
PHP version: 5.6.30 [PHP Switcher]
PHP Version Switcher v2
You are running PHP version: 5.6.30
I'm looking for forward to your responses.
Thanks!
6
Updates / Update error: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror
« on: March 30, 2017, 08:12:55 AM »
I've been getting this message for two (2) days in a row:
https://mirror.steadfast.net/epel/7/x86_64/repodata/5c1debace9de6d22381ad6c128eb259b765a6f137fd7deeeae57b8796d5a8db2-primary.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article
https://access.redhat.com/articles/1320623
If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/
My version is: CWPpro version: 0.9.8.292
Please advise.
https://mirror.steadfast.net/epel/7/x86_64/repodata/5c1debace9de6d22381ad6c128eb259b765a6f137fd7deeeae57b8796d5a8db2-primary.sqlite.xz: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article
https://access.redhat.com/articles/1320623
If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/
My version is: CWPpro version: 0.9.8.292
Please advise.
7
Apache / Session Cache is not configured.
« on: March 24, 2017, 01:19:53 AM »
I'm seeing this message in my Apache error log (error.log):
[warn] Init: Session Cache is not configured [hint: SSLSessionCache]
Unfortunately I haven't had much success in resolving the message not to mention I'm not entirely certain if it needs resolving.
Here's the error log, after being cleared and httpd restarted:
Your thoughts, suggestions and solutions are welcomed!
Thanks!
[warn] Init: Session Cache is not configured [hint: SSLSessionCache]
Unfortunately I haven't had much success in resolving the message not to mention I'm not entirely certain if it needs resolving.
Here's the error log, after being cleared and httpd restarted:
Code: [Select]
[Thu Mar 23 18:06:48.070518 2017] [mpm_event:notice] [pid 22068:tid 140480764557
184] AH00492: caught SIGWINCH, shutting down gracefully
[Thu Mar 23 18:06:50.000176 2017] [ssl:warn] [pid 22272:tid 140431233562496] AH0
1873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Mar 23 18:06:50.002419 2017] [mpm_event:notice] [pid 22272:tid 140431233562
496] AH00489: Apache/2.4.25 (Unix) OpenSSL/1.0.1e-fips configured -- resuming no
rmal operations
[Thu Mar 23 18:06:50.002449 2017] [core:notice] [pid 22272:tid 140431233562496]
AH00094: Command line: '/usr/local/apache/bin/httpd'
Your thoughts, suggestions and solutions are welcomed!
Thanks!
8
SSL / Can't install Let's Encrypt SSL on admin for CWP7 - need assistance.
« on: March 02, 2017, 12:10:22 AM »
I've been attempting to install a Let's Encrypt certificate for the admin panel for CWP7 and here's the steps I've followed:
First I attempted to follow this guide:
http://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt
(Including the YouTube video)
It appears that a few file names might be wrong, because the video wants the file /usr/local/apache/conf.d/vhosts-hostname.conf edited, but in the Video, it's showing the edit of /usr/local/apache/conf.d/vhosts.conf through the admin page.
So as a test I setup my admin virtual host through the admin page (i.e. vhosts.conf) per the video with proper host.hostname.com entries/IP and then I installed the Let's Encrypt Cert, followed by checking my admin panel server page for SSL and that appeared functional on port 443. The next stage was to add the ability to use the cert on port 2031.
The guide indicates to make changes to: /usr/local/cwpsrv/conf.d/cwp-ssl.conf
The file cwp-ssl.conf didn't exist, so I created the file with the proper entries and then attempted to restart CWP, that lead this error:
Redirecting to /bin/systemctl restart cwpsrv.service
Job for cwpsrv.service failed because the control process exited with error code. See "systemctl status cwpsrv.service" and "journalctl -xe" for details.
After searching, making adjustments based on other attempts discovered online and so forth, it appeared this wasn't going work and then I noticed ALL the guides and videos I've been reading/viewing were related to CWP (v6) and not CWP7 - does anyone have a guide and/or advice on setting up the admin page (port 2031) using the Let's Encrypt certs.
FWIW, it seems that any changes made to cwp-ssl.conf lead to a restart error.
Thanks!
First I attempted to follow this guide:
http://wiki.centos-webpanel.com/hostname-ssl-with-letsencrypt
(Including the YouTube video)
It appears that a few file names might be wrong, because the video wants the file /usr/local/apache/conf.d/vhosts-hostname.conf edited, but in the Video, it's showing the edit of /usr/local/apache/conf.d/vhosts.conf through the admin page.
So as a test I setup my admin virtual host through the admin page (i.e. vhosts.conf) per the video with proper host.hostname.com entries/IP and then I installed the Let's Encrypt Cert, followed by checking my admin panel server page for SSL and that appeared functional on port 443. The next stage was to add the ability to use the cert on port 2031.
The guide indicates to make changes to: /usr/local/cwpsrv/conf.d/cwp-ssl.conf
The file cwp-ssl.conf didn't exist, so I created the file with the proper entries and then attempted to restart CWP, that lead this error:
Redirecting to /bin/systemctl restart cwpsrv.service
Job for cwpsrv.service failed because the control process exited with error code. See "systemctl status cwpsrv.service" and "journalctl -xe" for details.
After searching, making adjustments based on other attempts discovered online and so forth, it appeared this wasn't going work and then I noticed ALL the guides and videos I've been reading/viewing were related to CWP (v6) and not CWP7 - does anyone have a guide and/or advice on setting up the admin page (port 2031) using the Let's Encrypt certs.
FWIW, it seems that any changes made to cwp-ssl.conf lead to a restart error.
Thanks!
Pages: [1]