To find the correct path of a working php.ini on a cPanel server,Follow the steps below: Login to the SSH with root user Use the command as: […]
![](https://cpanelplesk.com/wp-content/uploads/2015/01/phpsettings.png)
To find the correct path of a working php.ini on a cPanel server,Follow the steps below: Login to the SSH with root user Use the command as: […]
Log in to your server as the root using ssh to your server. Type the following commands: # cd /scripts # ./updatenow # ./easyapache Follow on screen recommendations to recover Apache for CPanel server under Linux. Please note that you can see a choice on display asking you which option you would like built into […]
If you’re hosting your own servers then securing your servers against attackers must be a high priority. ModSecurity is an open source Web Application Firewall that execute as a Module on your Web Server and it detects and prevents attacks against web applications. It monitors HTTP traffic and performs real time analysis. […]
To setup basic authentication in Apache first create a .htaccess file in your website root folder or in specific directory and add following code: […]
Keep alive is an concept to allow the same tcp connection for HTTP conversation instead of opening a new one with each new request. More simply , Keep alive is also known as a persistent connection. […]
To check if the server is Suexec or not? follow the steps as below: Login into you server with the root details and run following command: /usr/local/cpanel/bin/rebuild_phpconf –current If server is Suexec then result would be as follows: Available handlers: suphp dso cgi none DEFAULT PHP: 5 PHP4 SAPI: none PHP5 SAPI: suphp SUEXEC: enabled RUID2: […]
To password protect a file in Linux use the command below: vim +X cpanelplesk.txt +X option will make your file password protect. vim +X cpanelplesk.txt “cpanelplesk.txt” [New File] Enter encryption key: Enter same key again: Now write anything you want and save it using !wq “cpanelplesk.txt” [New][crypted] 0L, 0C written Done. […]
Sometimes we need to redirect all URL from https to http except one URL,In that case we just have to add below line above the redirection code in .htaccess file: RewriteRule ^foldername/ – [L] Now all the url except the foldername will be redirected from https to http: RewriteRule ^foldername/ – [L] RewriteCond %{SERVER_PORT} ^443$ RewriteRule ^(.*)$ http://www.cpanelplesk.com/$1 [R=301,L] […]
Previously we have talk about how to install and configure phpmMyAdmin on CentOS. Here through the below steps we are explaining how to Install and Configure phpMyAdmin on Ubuntu server. First of all, before installing anything new we have to make sure that the list of available packages is up to date. apt-get -y update Now we can install phpMyAdmin using the below command: […]
Some time we encounter problems with MySQL set up on Linux server. If we simply delete MySQL package and re-install it doesn’t resolve the problem, in that situation old configurations may still remains on server which again affects new set up. So first we have to uninstall MySQL completely from system and remove all configurations […]