How enable HTML files to display php code

When writing content for your site, you typically store them in either html or php files. The basic files, particularly on Linux servers like the ones used for our hosting accounts, are either generally either html (files ending in the extension .html or .htm) or php (files ending in the extension .php) files. HTML files […]

How to parse php Code in shtml file

How to parse the php code in .shtml file. Solution : If you want to use php code in .shtml file then you need to add the following handler in .htaccess file. AddType application/x-httpd-php5  .php5 .php4 .php .php3 .php2 .phtml .shtml AddHandler application/x-httpd-php5  .php5 .php4 .php3 .php2 .phtml .shtml Done

Video Codecs Installations: MPlayer+flvtool2+lame+ffmpeg-php+libogg+libvorbis

 Get all the source files wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2 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://sourceforge.net/projects/ffmpeg-php/files/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2/download 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  Extract all the source files bunzip2 essential-20061022.tar.bz2; tar xvf essential-20061022.tar tar zxvf flvtool2_1.0.5_rc6.tgz tar zxvf lame-3.97.tar.gz bunzip2 ffmpeg-php-0.5.0.tbz2; tar xvf ffmpeg-php-0.5.0.tar tar zxvf libogg-1.1.3.tar.gz tar zxvf libvorbis-1.1.2.tar.gz  Create the codecs directory & import them mkdir /usr/local/lib/codecs/ mv essential-20061022/* […]