2017

Run SSL on localhost for windows

Anyone running a recent Linux distribution is probably already OK, because they get the curl libraries bundled in through their package managers and recent curl libraries come with the latest CA root certificate bundle from Mozilla.org. This means you can just turn CURLOPT_SSL_VERIFYPEER on and you won’t get any errors. For a PHP installation that […]

Run SSL on localhost for windows Read More »

add wp-cli to cageFS

Login to your server as root. Install wp-cli as stated here: http://wp-cli.org/#installing After installing WP-CLI Open file: /etc/cagefs/conf.d/wp.cfg using: $ nano /etc/cagefs/conf.d/wp.cfg Add the following content to that file and save. [wp] comment=wp paths=/usr/local/bin/wp And then run: $ cagefsctl –force-update Now all users who have SSH access can use wp command.

add wp-cli to cageFS Read More »

How to turn off windows Update (windows 10)

To turn off windows update in windows 10 follow these steps: 1. Open Start menu, then click Settings (the gear icon on left corner) 2. On search bar, search for “Administrative Tools” and click on it. 3. Double-Click on “Services” 4. Look for a service called “Windows Update” and Right-click and “Properties”. 5. Change “Startup

How to turn off windows Update (windows 10) Read More »

How to solve (command-line: line 0: Bad configuration option: ControlPersist) WHM transfer tool

Here is how to solve the WHM transfer tool failure error which contains: command-line: line 0: Bad configuration option: ControlPersist) To solve this error and be able to transfer websites from a remote server, apply this command: $ yum update openssh    

How to solve (command-line: line 0: Bad configuration option: ControlPersist) WHM transfer tool Read More »

How to Force HTTPS using .htaccess

Encryption is essential and security is priority. If you want to force your users to use HTTPS version of your website, you can use a small code to do this. Open .htaccess on your public_html folder or any sub-folder and add this code on top: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L] change

How to Force HTTPS using .htaccess Read More »