web analytics

| Subcribe via RSS

How to disable suhosin for particular domain

May 13th, 2012 | No Comments | Posted in PHP

php logoIf you are getting following error related to suhosin

/usr/bin/php: symbol lookup error: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/suhosin.so: undefined symbol: zend_atol
[Sun Jan 30 11:07:08 2011] [error] [client] Premature end of script headers: /home/username/public_html/wp-admin/index.php

It means that suhosin should be disable for the particular domain

This can be done by  following some simple steps

1) Check the loaded global php.ini

# php -i | grep php.ini

Output

Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini

2) Copy it under the account in the problem

More »

Share
Tags:

How to change cPanel password from command line

May 13th, 2012 | No Comments | Posted in Cpanel

cpanel logoIf you do not have access to WHM then the cPanel password for a particular account can be updated from shell.

The following steps should help you to change  / reset / update cPanel password of particular account from shell

 

 

 

1) Access the server as a root user through SSH

2) Execute following command

# /scripts/chpass username password

where

username : cPanel account username

password : new password you wish to set

Note: password should not contain special characters

More »

Share
Tags: ,

How to start stop brute force service from command line

April 10th, 2012 | No Comments | Posted in WHM

cpanel logoIf you are locked for the brtue force attempt from your own server then stopping brtue force (cphuld) service from command line should regain WHM access

 

 

 

 

To stop brtue force (cphukd) service

/usr/local/cpanel/etc/init/stopcphulkd

To start brtue force (cphuld) service

/usr/local/cpanel/etc/init/stopcphulkd

 

Share
Tags:

[Fixed] Template Error: The template file must be given

March 20th, 2012 | No Comments | Posted in Cpanel

cpanel logoThe website might throw error as follows hosted on cPanel control panel

Template Error: The template file must be given.

and you may wonder whats gone wrong suddenly with the website.

The fix to the problem  is very easy.

The problem occurs when the IP in virtualhost entry of Apache configuration file is messed up.

1) Login in server as a root user through SSH.

2) Check the IPs present on server

# ifconfig

More »

Share
Tags:
  • Archives


  • Categories








  • Review www.geeksterminal.com on alexa.com


  • Norton secure Seal


  • free web site traffic and promotion