Translate

Monday, June 14, 2010

Horde webmail showing A fatal error has occurred

If you are getting "A fatal error has occurred" in horde then you can run the following script on shell to resolve this issue.


/script/fixwebmail

This command will resolve your issue

Tuesday, June 8, 2010

How to install ioncube

Here's a quick guide which will tell you how to install IonCube loader using SHELL.

* Root Shell Access to your server.
* Download the loader suitable for your server from here: wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz. (http://www.ioncube.com/loader_download.php.)
* Unpack the binary file by using this command tar -xvf ioncube_loaders.tar.gz (Change the ioncube_loaders.tar.gz to the file name appropriate for your server)
* After extracting it will create a folder called ioncube. Now use this command: cd ioncube
* Copy ioncube-install-assistant.php to a web directory by typing this command cp ioncube-install-assistant.php /home/userdirectoryhere/www
* Visit that file by going to http://www.example.com/loader-wizard.php.
* Go back to where you extracted the ioncube folder by using cd..
* Now move the ioncube folder in a safe and permanent location by using command: mv ioncube /usr/local
* Now edit the php.ini file for example: nano /usr/local/lib/php.ini
* Look for [zend] by typing CTRL + W and typing [zend]
* Paste the following line under [zend], zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so
* Press CTRL + X, type Y and press Enter.
* Restart the server by typing: /etc/init.d/httpd restart
* Your installation is done.

How to Compile php with openssl

1. First of all download php from any source

wget http://in.php.net/get/php-5.2.13.tar.gz/from/this/mirror

2. untar it,

tar -xvf php-5.2.13.tar.gz

3. change directory

cd php-5.2.13

4.1 compile php with mysql

./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql


4.2 Compile php with openssl

./configure --with-openssl /usr/bin/openssl

4.3 compile php with php5-ldap

./configure --with-php5-ldap


Php will be configured.

Monday, June 7, 2010

Reset Kloxo Password

This is very common issue that we forget Kloxo admin password and unable to retrieve it from forget password option. I am happy to inform you that you can reset password from shell. Yes If you have root access then just login into your shell and write these two commands.

cd /usr/local/lxlabs/kloxo/httpdocs

lphp.exe ../bin/common/resetpassword.php master admin


Now the password of your Kloxo panel is admin. You can login and reset password.

if you need password notification into your mail-id then after login into your kloxo admin panel go to Administration --> Information and provide your mail-id, You will get a new password into your mail id, if you will click reset password option into your Kloxo admin login window.

About Me

My photo
Greetings Friend! I am Linux scholar, trying to learn as much I can and share it with you. I am in mid of my Professional Career. Doing Good. :)

Followers