Monday, January 26, 2015

Softaculous error The INFO.XML file could not be found! Please report this to the server administrator

If you are getting the error below while trying to install a script with Softaculous.

======
The INFO.XML file could not be found! Please report this to the server administrator.
======
When you get the above error, it means that Softaculous needs to be updated manually. 

Follow the steps below to resolve the issue.
1) Login to WHM as root user.
2) On left column, click on link "Softaculous - Instant Installs".
3) On Softaculous setting page on right, click on "Software" menu at the top.
4) Select ALL scripts by clicking on checkbox just below the word "Installed".
5) Click on "Update Settings" button. Wait for 10 minutes for the update to complete.

Monday, December 29, 2014

How to create a FTP user in Webmin control panel


To create FTP accounts in Webmin control panel follow the steps below.

1. Login to Webmin control panel.
2. In the servers section, click Virtualmin Virtual Servers
3. Select the domain name that you’d like to add a user to.
4. Click on “Edit Mail & FTP Users”
5. Click “Add a user” to this domain to add a new user.
6. Select the option “FTP login Enabled”.
7. Click “Create” to set up the user.

Sunday, December 14, 2014

How to redirect from www site to non-www site by .htaccess

To set a redirection from www site to non-www site, use the following code in .htaccess file for the domain.

# mod_rewrite in use
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^domain.com
RewriteRule (.*) http://domain.com/$1 [R=301, L]

Friday, December 05, 2014

How to install Softaculous in Direct Admin control panel

Installing Softaculous in Direct Admin run the following commands:

Note: Before starting the installation make sure ionCube Loaders is installed.

  • SSH server as root user
  • mkdir /usr/local/directadmin/plugins
  • cd /usr/local/directadmin/plugins
  • wget -N http://www.softaculous.com/da/install_softaculous.php
  • chmod 755 install_softaculous.php
  • /usr/local/bin/php -d open_basedir=/ -d safe_mode=0 -d disable_functions="" /usr/local/directadmin/plugins/install_softaculous.php
  • If the above doesent work run below
  • /usr/local/bin/php /usr/local/directadmin/plugins/install_softaculous.php

Sunday, November 16, 2014

How to enable mysqli extension WHM Cpanel

For checking if mysqli extension is enabled on not follow the steps below.

SSH server as root user.

========
[root@yourserver ~]# php -m | grep -i mysql
mysql
mysqli
pdo_mysql
========
as you can see above mysqli is enabled.

The mysqli extension allows you to access the functionality provided by MySQL 4.1 and above. More information about the MySQL Database server can be found at http://www.mysql.com/

To enable mysqli extension follow the steps below.

  • Login to WHM.
  • easyapache.
  • Select the package mysql improved from Exhaustive options list.
  • save and rebuild easy apache.