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

Pages: [1] 2 3 ... 8
PHP / Re: Install php 7.2.4 and php-fpm on centos web panel
« on: June 10, 2018, 03:43:04 PM »
Guys, this is important:

# don't
<IfModule mod_proxy.c>
  ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://

# do this instead
# Use SetHandler on Apache 2.4 to pass requests to PHP-PFM
<FilesMatch \.php$>
  SetHandler "proxy:fcgi://"

You can read more detail at this link :

I got the issue with Nextcloud, could not login in Sync Client, and the app rejected to upload files (error: Unknown protocol "'", connection closed) , buy doing these steps you can fix the issues

PHP Selector / Re: CWP PHP Selector [CWPpro required]
« on: June 09, 2018, 05:08:19 PM »
It was free for few years ago, starting this year it is commercialized

PHP / Re: Install php 7.2.4 and php-fpm on centos web panel
« on: June 09, 2018, 05:06:16 PM »
Thanks for the good information

PHP / Re: PHP Version Switcher, CWP PHP Selector - CWP, user, root...
« on: June 09, 2018, 07:04:04 AM »
"dependencies" is needed for the process to rebuild PHP regardless any PHP version. It is the system operation, similar to windows .dll, C+ libraries

I give you a better solution, let's try.
What do you need?
-Microsoft Outlook or any email client
-Your email must be an IMAP account

The idea : sync your emails via email client (IMAP account)

- First, dont touch your current email (I call it email hosted at your old mail server IP_1)
- Go to CWP, add your domain, create new email account, of course you will have the inbox (exactly the same email address, but hosted at your new server IP_2 )
- Now you launch Outlook, add your new email but instead of input your (mail server address, it might be different base on your configuration), you input your new IP (IP_2)
- drag all emails and folders from email_1 to email_2 (maybe drag 1 email for a test)
- Wait for the email to be synced to new server (actually it just upload)
- Go to roundcube on the new server, verify it
- If everything looks good, you can continue to sync and disconnect your old account in Outlook

PHP Selector / Re: not sure opcache for php 7 (selector) is active
« on: June 09, 2018, 06:23:07 AM »
make a .php file, add this function inside:


Load it on browser You will see a report which states the status of your Opcache engine.

you can see a preview here :

PHP Selector / Re: How to use php7.2 in terminal?
« on: June 08, 2018, 09:09:54 AM »
Using an alias to change the PHP version, you can read more details here :

Just make sure your path to php is correct

PHP / Re: PHP Version Switcher, CWP PHP Selector - CWP, user, root...
« on: June 08, 2018, 09:03:13 AM »
Sorry I have to ask did you do a simple search before you raise a question, anyway I will try to answer your questions as you are new here.
1. Check permission of this file : /usr/local/cwpsrv/htdocs/resources/admin/modules/php_info.php, it should exist and 644 permission
2. This version 5.6.30 will be changed to the one that you decided to switch
2a. Leave it default , you don't need to change anything unless your PHP app needs additional function (example : imap, mongodb ...)
3. This version 5.6.30 is a main version and described clearly in CWP dashboard, all users have the same php version (unless you install multiple php version)
4. v5.6.30
5. php.ini
6. Yes , but not recommend because you are very new to it
7. Yes , but not recommend because you are very new to it
8. Yes, install dependencies if your need to use multiple php versions. Dependencies are additional required libraries

DNS / Re: rDNS and I'm confused
« on: June 08, 2018, 08:49:51 AM »
- Add an A record to your domain, same as your hostname, point it to your server's IP
- Go to your hosting provider dashboard, find rDNS and put your hostname there

DNS / Re: Free DNS services
« on: June 08, 2018, 08:40:26 AM »
Open an account at Namecheap, they provide free DNS manager, good UI to manage your DNS

DNS / Re: rDNS
« on: June 08, 2018, 08:38:49 AM »
Very simple:
- Add an A record (same as your hostname) to your domain (the one manages your domain, not CWP) , point it to your server's IP
- Also in webhosting panel (from your service provider, put your hostname in rDNS), if you dont see where to change it, you might need to contact your webhosting provider as you can not change it on your end

SSL / Re: SSL problem www and non-www
« on: June 08, 2018, 08:31:00 AM »
You should not put www while you are generating a certificate
make it as an alias

How to simulate DDOS for a test after installing this method?

CentOS Configuration / Re: how can I increase my root available?
« on: May 23, 2018, 04:07:08 PM »
check the mount point.
Probably it is in different disk or block storage

try this command to see disk info:
df -h

you might search Google for more commands and how to mount a disk

Other / Re: nginx/varnish bugs
« on: May 23, 2018, 03:58:20 PM »
Keep in mind when you rebuild apache or change hostname, you need to rebuild vhosts
Otherwise, all your sites (domains or sub domains) will not work

- Choose your prefer webserver (recommend Nginx + Apache + Varnish)
- Rebuild vhosts
- Restart webserver, better reboot your VPS

If you don't want to receive notification , simply disable it or remove your email from the dashboard. This is not recommended

Pages: [1] 2 3 ... 8