This article shows how to install ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encoder, and Libog from source. It should work on most systems, however may need some tweaking from system to sytem. cd /usr/local/src Download source tarballs: wget http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz wget http://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.tbz2 wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz wget http://www4.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2 Extract the tarballs: tar zxvf […]
Author Archive
How to install ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encoder, and Libog from source
Webmail : Server replied: 110 Can’t open SMTP stream.
I’m getting an error on a couple of my servers when trying to send email from webmail. Connection timed out Server replied: 110 Can’t open SMTP stream. Solution :– I found the config for cpanel’s SM: /usr/local/cpanel/base/3rdparty/squirrelmail/config/config.php I just changed: $useSendmail = false; to: $useSendmail = true; thats all
Unable to login to horde
Unable to login to horde Solution :– Kindly try following steps: 1. Login to shell of the server using root login details and open the file ” /usr/local/cpanel/3rdparty/etc/horde/php.ini ” using vi or any other editor 2. Search for [Session] and change the following From:- session.save_handler = sqlite session.save_path =/var/cpanel/userhomes/cpanedmin/sessions/phpsess.sdb To:- session.save_handler = files session.save_path = […]
Portflood Rule
You need to login to server as root and open csf file & add below rule. —— PORTFLOOD = “26;tcp;20;300” —— This rule blocks IPs that connect to port 26 via TCP more than 20 times within 300 seconds for 300 seconds. Most of the packets are to port 26, so this should stop the […]
Python Installation
1) Download and extract Python: cd /usr/local/src wget http://apache.dataphone.se/httpd/modpython/mod_python-3.3.1.tgz tar zxvf mod_python-.3.3.1tgz 2) Configure & install Python cd mod_python-3.3.1 ./configure –with-apxs=/usr/local/apache/bin/apxs (check where your apxs is by typing: locate apxs) make make install 3) Configure Apache pico -w /usr/local/apache/conf/httpd.conf Locate your LoadModule – section by pressing CTRL-W and typing “LoadModule”. Add the following line under […]
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
Sometimes if you login in to PHPMYADMIN, you can see the error as follows. Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. Solution :- 1) Check permissions of /tmp. It should be 755. Change it to 1777. 2) Open file /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini […]
phpMyadmin errror “#2002 – The server is not responding (or the local MySQL server’s socket is not correctly configured)”
phpMyAdmin – Error #2002 – The server is not responding (or the local MySQL server’s socket is not correctly configured) Solution :- 1. First check whether mysql is working in the server or not. 2, Check whether there is a symbolic link from mysql.sock to /tmp. If not, create a symlink between /var/lib/mysql/mysql.sock and /tmp/mysql.sock. […]
phpmyadmin error: Existing configuration file (./config.inc.php) is not readable.
When I try to access phpmyadmin on a cPanel server, i get the following error: Existing configuration file (./config.inc.php) is not readable. Solution :– Login to the server as root : 1) cd /usr/local/cpanel/base/3rdparty/phpMyAdmin 2) chown root:cpanelphpmyadmin config.inc.php Thats all.
Outlook Express Email Setting
Below are the outlook express settings :- 1. On the Tools menu, click Accounts 2. Select the Mail tab, click Add, and then click Mail. 3. In the Display name text box, type your name (e.g. info), and then click Next. 4. In the E-mail address text box, type your email address@yourdomainname (e.g. example@yourdomainname), and […]
mysql service is not working
Please login to server as root and fire below commands 1) killall -9 mysqld 2) cd /etc/rc.d/init.d 3) safe_mysqld –skip-grant-tables & 4) mysqladmin status Enjoy








