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

Pages: 1 ... 17 18 [19] 20 21 ... 29
271
CentOS-WebPanel Bugs / Re: Logout does't work in user panel
« on: December 09, 2018, 01:01:53 PM »
.74

272
CentOS-WebPanel Bugs / Re: Logout does't work in user panel
« on: December 09, 2018, 12:48:44 AM »
I have the same problem.

273
CentOS-WebPanel Bugs / Re: Logout User Control Panel
« on: December 09, 2018, 12:38:36 AM »
Same issue for me to. 

274
CentOS-WebPanel Bugs / Cannot install imagick
« on: December 06, 2018, 01:25:00 PM »
I tried to install imagemagick was not successful.

Code: [Select]
CWP Imagick Installer
################################

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.linode.com
 * epel: mirror.compevo.com
 * extras: mirrors.linode.com
 * updates: mirrors.linode.com
Package ImageMagick-6.7.8.9-15.el7_2.x86_64 already installed and latest version
Package ImageMagick-devel-6.7.8.9-15.el7_2.x86_64 already installed and latest v                                                                                       ersion
Package ImageMagick-perl-6.7.8.9-15.el7_2.x86_64 already installed and latest ve                                                                                       rsion
Nothing to do
--2018-12-06 08:08:53--  http://pecl.php.net/get/imagick-3.1.0RC2.tgz
Resolving pecl.php.net (pecl.php.net)... 104.236.228.160
Connecting to pecl.php.net (pecl.php.net)|104.236.228.160|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 93264 (91K) [application/octet-stream]
Saving to: ‘imagick-3.1.0RC2.tgz’

100%[======================================>] 93,264      --.-K/s   in 0.08s

2018-12-06 08:08:54 (1.05 MB/s) - ‘imagick-3.1.0RC2.tgz’ saved [93264/93264]

Configuring for:
PHP Api Version:         20160303
Zend Module Api No:      20160303
Zend Extension Api No:   320160303
ln: failed to create symbolic link ‘/usr/local/include/ImageMagick’: File exists
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/m                                                                                       ain -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/inc                                                                                       lude/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-n                                                                                       on-zts-20160303
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... no
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate                                                                                        PHP parsers.
checking for gawk... gawk
checking whether to enable the imagick extension... yes, shared
checking whether to enable the imagick GraphicsMagick backend... no
checking ImageMagick MagickWand API configuration program... found in /usr/bin/M                                                                                       agickWand-config
checking if ImageMagick version is at least 6.2.4... found version 6.7.8 Q16
checking for MagickWand.h header file... found in /usr/include/ImageMagick/wand/                                                                                       MagickWand.h
checking PHP version is at least 5.1.3... yes. found 7.1.0
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libra                                                                                       ries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no

creating libtool
appending configuration tag "CXX" to libtool
configure: creating ./config.status
config.status: creating config.h
find . -name \*.gcno -o -name \*.gcda | xargs rm -f
find . -name \*.lo -o -name \*.o | xargs rm -f
find . -name \*.la -o -name \*.a | xargs rm -f
find . -name \*.so | xargs rm -f
find . -name .libs -a -type d|xargs rm -rf
rm -f libphp.la       modules/* libs/*
/bin/sh /usr/local/src/imagick-3.1.0RC2/libtool --mode=compile cc  -I. -I/usr/lo                                                                                       cal/src/imagick-3.1.0RC2 -DPHP_ATOM_INC -I/usr/local/src/imagick-3.1.0RC2/includ                                                                                       e -I/usr/local/src/imagick-3.1.0RC2/main -I/usr/local/src/imagick-3.1.0RC2 -I/us                                                                                       r/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM                                                                                        -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/                                                                                       php/ext/date/lib -I/usr/include/ImageMagick  -DHAVE_CONFIG_H  -g -O2   -c /usr/l                                                                                       ocal/src/imagick-3.1.0RC2/imagick_file.c -o imagick_file.lo
mkdir .libs
 cc -I. -I/usr/local/src/imagick-3.1.0RC2 -DPHP_ATOM_INC -I/usr/local/src/imagic                                                                                       k-3.1.0RC2/include -I/usr/local/src/imagick-3.1.0RC2/main -I/usr/local/src/imagi                                                                                       ck-3.1.0RC2 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/                                                                                       include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/u                                                                                       sr/local/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g                                                                                        -O2 -c /usr/local/src/imagick-3.1.0RC2/imagick_file.c  -fPIC -DPIC -o .libs/imag                                                                                       ick_file.o
/usr/local/src/imagick-3.1.0RC2/imagick_file.c: In function ‘php_imagick_is_url’                                                                                       :
/usr/local/src/imagick-3.1.0RC2/imagick_file.c:52:2: warning: passing argument 2                                                                                        of ‘php_stream_locate_url_wrapper’ from incompatible pointer type [enabled by d                                                                                       efault]
  if (php_stream_locate_url_wrapper(filename, &path_for_open, STREAM_LOCATE_WRAP                                                                                       PERS_ONLY TSRMLS_CC)) {
  ^
In file included from /usr/local/include/php/main/php.h:405:0,
                 from /usr/local/src/imagick-3.1.0RC2/php_imagick.h:40,
                 from /usr/local/src/imagick-3.1.0RC2/imagick_file.c:21:
/usr/local/include/php/main/php_streams.h:565:28: note: expected ‘const char **’                                                                                        but argument is of type ‘char **’
 PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, cons                                                                                       t char **path_for_open, int options);
                            ^
/usr/local/src/imagick-3.1.0RC2/imagick_file.c: In function ‘php_imagick_read_im                                                                                       age_using_php_streams’:
/usr/local/src/imagick-3.1.0RC2/imagick_file.c:156:58: error: ‘ENFORCE_SAFE_MOD                                                                                        ’ undeclared (first use in this function)
  stream = php_stream_open_wrapper(file->filename, "rb", (ENFORCE_SAFE_MODE|IGNO                                                                                       RE_PATH) & ~REPORT_ERRORS, NULL);
                                                          ^
/usr/local/include/php/main/php_streams.h:568:107: note: in definition of macro                                                                                        ‘php_stream_open_wrapper’
 #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_w                                                                                       rapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC)
                                                                                                                                                                                                  ^
/usr/local/src/imagick-3.1.0RC2/imagick_file.c:156:58: note: each undeclared ide                                                                                       ntifier is reported only once for each function it appears in
  stream = php_stream_open_wrapper(file->filename, "rb", (ENFORCE_SAFE_MODE|IGNO                                                                                       RE_PATH) & ~REPORT_ERRORS, NULL);
                                                          ^
/usr/local/include/php/main/php_streams.h:568:107: note: in definition of macro                                                                                        ‘php_stream_open_wrapper’
 #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_w                                                                                       rapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC)
                                                                                                                                                                                                  ^
make: *** [imagick_file.lo] Error 1
/bin/sh /usr/local/src/imagick-3.1.0RC2/libtool --mode=compile cc  -I. -I/usr/lo                                                                                       cal/src/imagick-3.1.0RC2 -DPHP_ATOM_INC -I/usr/local/src/imagick-3.1.0RC2/includ                                                                                       e -I/usr/local/src/imagick-3.1.0RC2/main -I/usr/local/src/imagick-3.1.0RC2 -I/us                                                                                       r/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM                                                                                        -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/                                                                                       php/ext/date/lib -I/usr/include/ImageMagick  -DHAVE_CONFIG_H  -g -O2   -c /usr/l                                                                                       ocal/src/imagick-3.1.0RC2/imagick_file.c -o imagick_file.lo
 cc -I. -I/usr/local/src/imagick-3.1.0RC2 -DPHP_ATOM_INC -I/usr/local/src/imagic                                                                                       k-3.1.0RC2/include -I/usr/local/src/imagick-3.1.0RC2/main -I/usr/local/src/imagi                                                                                       ck-3.1.0RC2 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/                                                                                       include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/u                                                                                       sr/local/include/php/ext/date/lib -I/usr/include/ImageMagick -DHAVE_CONFIG_H -g                                                                                        -O2 -c /usr/local/src/imagick-3.1.0RC2/imagick_file.c  -fPIC -DPIC -o .libs/imag                                                                                       ick_file.o
/usr/local/src/imagick-3.1.0RC2/imagick_file.c: In function ‘php_imagick_is_url’                                                                                       :
/usr/local/src/imagick-3.1.0RC2/imagick_file.c:52:2: warning: passing argument 2                                                                                        of ‘php_stream_locate_url_wrapper’ from incompatible pointer type [enabled by d                                                                                       efault]
  if (php_stream_locate_url_wrapper(filename, &path_for_open, STREAM_LOCATE_WRAP                                                                                       PERS_ONLY TSRMLS_CC)) {
  ^
In file included from /usr/local/include/php/main/php.h:405:0,
                 from /usr/local/src/imagick-3.1.0RC2/php_imagick.h:40,
                 from /usr/local/src/imagick-3.1.0RC2/imagick_file.c:21:
/usr/local/include/php/main/php_streams.h:565:28: note: expected ‘const char **’                                                                                        but argument is of type ‘char **’
 PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, cons                                                                                       t char **path_for_open, int options);
                            ^
/usr/local/src/imagick-3.1.0RC2/imagick_file.c: In function ‘php_imagick_read_im                                                                                       age_using_php_streams’:
/usr/local/src/imagick-3.1.0RC2/imagick_file.c:156:58: error: ‘ENFORCE_SAFE_MOD                                                                                        ’ undeclared (first use in this function)
  stream = php_stream_open_wrapper(file->filename, "rb", (ENFORCE_SAFE_MODE|IGNO                                                                                       RE_PATH) & ~REPORT_ERRORS, NULL);
                                                          ^
/usr/local/include/php/main/php_streams.h:568:107: note: in definition of macro                                                                                        ‘php_stream_open_wrapper’
 #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_w                                                                                       rapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC)
                                                                                                                                                                                                  ^
/usr/local/src/imagick-3.1.0RC2/imagick_file.c:156:58: note: each undeclared ide                                                                                       ntifier is reported only once for each function it appears in
  stream = php_stream_open_wrapper(file->filename, "rb", (ENFORCE_SAFE_MODE|IGNO                                                                                       RE_PATH) & ~REPORT_ERRORS, NULL);
                                                          ^
/usr/local/include/php/main/php_streams.h:568:107: note: in definition of macro                                                                                        ‘php_stream_open_wrapper’
 #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_w                                                                                       rapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC)
                                                                                                                                                                                                  ^
make: *** [imagick_file.lo] Error 1

extension=imagick.so
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/ex                                                                                       tensions/no-debug-non-zts-20160303/imagick.so' - /usr/local/lib/php/extensions/n                                                                                       o-debug-non-zts-20160303/imagick.so: cannot open shared object file: No such fil                                                                                       e or directory in Unknown on line 0
Imagick NOT Installed !
[root@libra ~]# http://forum.centos-webpanel.com/php/instal

275
PHP / Re: Install ImageMagick or GD ?
« on: December 04, 2018, 09:27:43 PM »
contact support and we will check it
http://centos-webpanel.com/contact

Right and you ask for money in the spirit of open source.

Heres the error.
extension=imagick.so
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/ex                                                                                       tensions/no-debug-non-zts-20160303/imagick.so' - /usr/local/lib/php/extensions/n                                                                                       o-debug-non-zts-20160303/imagick.so: cannot open shared object file: No such fil                                                                                       e or directory in Unknown on line 0
Imagick NOT Installed !

276
MySQL / Re: Does it mean the database is not created?
« on: December 03, 2018, 01:26:55 AM »
Obviously if the database and user name are not listed, then you never created the db and user.  Try it again.

277
Mod_Security / Re: Wordpress does not work after activate the Mod Security
« on: November 28, 2018, 01:23:46 PM »
why not use cloudflare free plan ?

WAF is not free.  You have to have a minimum of PRO Plan.

Cloudflare sucks anyway.  Frequent outages and outdated caching, slow page loads....the list goes on and on.  Just search for cloudflare problems on your favorite search engine.
https://tech.tiq.cc/2016/01/why-you-shouldnt-use-cloudflare/

278
Mod_Security / Cannot turn off modsecurity on domain basis.
« on: November 21, 2018, 11:08:19 PM »
I have a switch to turn off modsecurity for individual domains but I am still logging errors in modsecurity.  Work around was whitelist my ip but thats not a preferred method.  Website users are reporting forbidden errors also on a limited basis.

How do I turn off mod security on domain basis.

279
Mod_Security / Re: 403 Forbidden
« on: November 21, 2018, 10:47:28 PM »
I am getting the same error and the log indicates that its a modsecurity rule violation.  However, I have turned off modsecurity for that particular domain and restarted apache.  I still get blocked when I login to the backend of my website.

280
SSL / Re: https admin login 2031 2087 port
« on: October 13, 2018, 01:15:02 AM »
If you look at the photo above it says valid until 2027  but SSLlabs says 90 days.  Which is it?

Was the 2027 certificate a self signed certificate.  Is there anything wrong with using a self signed certificate for admin panel?

281
SSL / Re: https admin login 2031 2087 port
« on: October 13, 2018, 01:08:11 AM »
okay reloading cwp worked.  So the question is, how do I renew? in January?  Same thing all over again...chainge hostname...reload cwp?  Seems rather cumbersome

282
SSL / Re: https admin login 2031 2087 port
« on: October 13, 2018, 01:01:28 AM »
I did change the hostname to the same hostname and got a valid certificate but despite sslllabs reporting the cert as valid, browser said that site was insecure.

How do I restart cwp? Console = shell  I get it now

283
Apache / Re: Definitive answer: HTTP to HTTPS www
« on: October 12, 2018, 11:30:13 PM »
What you just said is what I posted.

284
SSL / Re: https admin login 2031 2087 port
« on: October 12, 2018, 08:29:10 PM »
when I checked the hostname cert on line it failed. 

So I renamed the hostname to the old hostname (no change).  And a certificate was issued.  Pass the test for ssl.  But if I navigate to the hostname:2087 it says insecure connection.  Even though SSL is A Rated

See IE certificate info attached.


285
Apache / Re: Definitive answer: HTTP to HTTPS www
« on: October 12, 2018, 04:55:27 PM »
Today (a little late) I modified vhost template by adding this:

<IfModule mod_rewrite.c>
      RewriteEngine on
      RewriteCond %{HTTPS} off
      RewriteRule ^(.*)$ https://DOMAIN_REPLACE$1 [R=301,L]
   </IfModule>

This will redirect http requests to https.  You must have https cert of course.

Also VERY IMPORTANT....you will have to delete this rewrite module every single time that you attempt to renew certs.  And then manually insert it after cert is renewed.  Easiest way to do this is to have two copies of your vhost config file.  One with the rewrite and one without the rewrite.  This will save you a ton of time if you numerous domains.  If you have only one then its just as easy to type it in each time.  ALTERNATIVELY you can comment out the rewrite with hash tags prior to cert renewal.

Pages: 1 ... 17 18 [19] 20 21 ... 29