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

Pages: [1] 2
1
PHP / Re: GD Webp Support
« on: November 03, 2021, 02:28:41 AM »
i just had it checked and certinally it should be Installed but its not at all

gd
GD Support   enabled
GD Version   bundled (2.1.0 compatible)
FreeType Support   enabled
FreeType Linkage   with freetype
FreeType Version   2.8.0
GIF Read Support   enabled
GIF Create Support   enabled
JPEG Support   enabled
libJPEG Version   6b
PNG Support   enabled
libPNG Version   1.5.13
WBMP Support   enabled
XPM Support   enabled
libXpm Version   30411
XBM Support   enabled
JIS-mapped Japanese Font Support   enabled

not in the list that's why my script does not pick it u and work.

2
PHP / Re: GD Webp Support
« on: November 02, 2021, 06:31:37 AM »
ok, I can load a .webp image on the server so it looks like the script may be the issue. but weird nothing has been changed at all. the script works.

on page load, if not exist the webp image will create it on the fly

also if the browser can not support webp it will fall back to the old image format.

so I'm not sure what going on now. as on Cpanel it worked perfectly I may be forced to go back to Cpanel but I don't want to.

3
PHP / Re: GD Webp Support
« on: November 02, 2021, 06:15:38 AM »
$_SERVER['HTTP_ACCEPT']   text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9

gd
GD Support   enabled
GD Version   bundled (2.1.0 compatible)
FreeType Support   enabled
FreeType Linkage   with freetype
FreeType Version   2.8.0
GIF Read Support   enabled
GIF Create Support   enabled
JPEG Support   enabled
libJPEG Version   6b
PNG Support   enabled
libPNG Version   1.5.13
WBMP Support   enabled
XPM Support   enabled
libXpm Version   30411
XBM Support   enabled
JIS-mapped Japanese Font Support   enabled


was working fine when I on cpanel but now nothing

4
PHP / Re: GD Webp Support
« on: November 02, 2021, 03:58:40 AM »
No I am running Apache php-fpm 7.3

5
PHP / GD Webp Support
« on: November 02, 2021, 12:36:08 AM »
Hi in the PHP fpm selector I selected the option - gd-webp enable support for WebP, is an image format employing both lossy and lossless compression. in the options

Then i enabled it in php7.3 tick the box and compiled it but I still say no gd webp not installed.



I also reset the options then select it and recompiled it but still, it stays not support

how can fix this so that it works

thanks in advance fr any help

6
Installation / Re: private sll for host name
« on: May 07, 2020, 09:27:13 AM »
every time I try to do I take the server down lol. just can't get it to do it.

if I can only install my SSL on host I will be so happy you would not believe it.

might be my experience level but I tired. I cant get SSL mail without an SSL on the hostname. my site requires it to be SSL so I am well and truly stuck. as I can't count the number of times I have tried to get lets encrypt to install on the host and it just won't do it.

if anyone out there thinks they can do I would seriously appreciate so much if they could get it to work without taking down the sever and having to reinstall it

7
Installation / Re: private sll for host name
« on: May 07, 2020, 03:55:31 AM »
You can also manually replace certificate with your own certificate
ssl_certificate with bundle (if any): /etc/pki/tls/certs/hostname.crt
ssl_certificate_key: /etc/pki/tls/private/hostname.key

these files don't exist in the directorys above

8
Installation / Re: private sll for host name
« on: May 07, 2020, 02:59:34 AM »
I found this information but its outdated and not working anymore on the current version.

Manually or custom certificate

You can also manually replace certificate with your own certificate
ssl_certificate with bundle (if any): /etc/pki/tls/certs/hostname.crt
ssl_certificate_key: /etc/pki/tls/private/hostname.key

9
Installation / private sll for host name
« on: May 06, 2020, 11:33:35 PM »
Hi, I am sure many many people are experiencing an issue with let's encrypt SSL for host.

as it stands that Is the only way for people to add an SSL for the hostname.

I am stuck here my self. t just does not work as it should.

is there a way so I can add my own SSL for the host as I have a private SSL for the hostname so that I can use it to rid any error in getting the certificate especially to many times issued when it hasn't worked.

can I edit the self-signed cert and add these details

ca bundle
cert
private key

to make them all private so the host has SSL works

if there is a way can you please explain for the dummies to do this as from reading this forum many would lie to now how to do this I certainly want to know how to install a custom SSL on hostname step by step, please.

thanks in advance if anyone can tell me how to do this correctly as if you can many many users will read this post I am sure.




10
The weirdest thing today it is back to the way it is supposed to be maybe it did an update and fixed itself.

I will see if it does it again.

Thanks anyway.

11
is file lock is enabled ?

No file lock is off I never use it. I have reinstalled CWP but the same thing keeps happening after a short time. of having the server online.

now Phpmyadmin says when you go to it from user control panel: about:blank#blocked

could the DSO handler be causing this? I am not sure if it's installed. but running apache PHP 7.3-forced fpm.

I also just noticed this in the disk details: tmpfs  /run/user/1000  then same number of the owner of the files

12
Hi, just this morning I noticed that file manager in the user dashboard won't let me save files. and the file permissions are all changed.

I did the fix permissions but it didn't do anything.

You don't have permission to access /cwp_f9d4b00ceb73a418/tws/fileManager2.php on this server.  after trying to save a file.


Name                   Perm   Owner   Group   Size            Date           Type   
breadcrumbs.twig   0644    1000   1000            977 bytes   22/04/20 03:07   .twig

I guess this is why.

i tried chown -r tws:tws /home/tws/public_html  but it didn't fix the issue either.

anyone know why or how I can fix this.

In the root file manager, it is showing correct everywhere.


thanks in advance for any help anyone can give.






13
New Modules / Re: Two Factor Authorization Mod
« on: February 22, 2020, 04:08:19 AM »
perfect so sorry to be a pain in the ass. i really appericate it you dont know how much.

many many mnay thanks working perfect your awsome

14
New Modules / Re: Two Factor Authorization Mod
« on: February 22, 2020, 04:00:40 AM »
did that still the same sorry you must be getting sick of me.

15
New Modules / Re: Two Factor Authorization Mod
« on: February 22, 2020, 03:50:49 AM »
[root@server ~]# /root/watch.sh
-bash: /root/watch.sh: /bin/sh^M: bad interpreter: No such file or directory


#!/bin/sh
pid=` ps aux | grep -v grep | pgrep -f cron.php`
check_user()
{
echo "//////////User Checks//////////"
cd /usr/local/cwpsrv/var/services/users/login
if [ "$(tail -1 index.php)" == "?>" ] ; then
                return
        fi
chattr -i .
chattr -i *
echo "Moving Files"
cp -f index.php abcdefg.php
cp -f login.php index.php
chattr +i *
chattr +i .
}
check_configs()
{
echo "//////////Config Checks//////////"
FILES=/usr/local/cwpsrv/conf.d/users/*
for f in $FILES
do
if ! grep -q "/home/google" $f; then
    echo updateing $f
     sed -i -re 's@open_basedir(.*)(";)@\1:/home/google\2@' $f
fi
done
if grep -q "open_basedir = /tmp" /usr/local/cwpsrv/conf.d/users.conf; then
updating users.conf
sed -i "s@fastcgi_param   PHP_ADMIN_VALUE \"open_basedir = /tmp@fastcgi_param   PHP_ADMIN_VALUE \"open_basedir = /home/:/tmp@g" /usr/local/cwpsrv/conf.d/users.conf

fi
/usr/local/cwpsrv/bin/cwpsrv -s reload
find /home/*/.conf/cwp.ini -exec sed -i "s@original@modified@g" {} +

}
check_admin()
{
echo "//////////Admin Checks//////////"
        cd /usr/local/cwpsrv/htdocs/admin/login/
        if [ "$(tail -1 index.php)" == "?>" ] ; then
                return
        fi
        echo "Moving Admin"
        chattr -i .
        chattr -i *
        ls | grep -P "[a-z0-9]{16}" | xargs -d"\n" rm
        RAND_CHARS=$(openssl rand -hex 16)
        mv index.php $RAND_CHARS.php
        cp index_working.php index.php
        sed -i "s@define(\"DO_LOGIN\",\"\");@define(\"DO_LOGIN\",\"$RAND_CHARS.php\");@g" index.php
        chattr +i *
        chattr +i .
}
if [ "$pid" != "" ]; then
while [ -e /proc/$pid ]
do
    sleep .6
done
fi
echo "Start Checks"
check_user
check_admin
check_configs

Pages: [1] 2