How To Install ImageMagick (And Imagick) With jp2 Support On CentOS (6.0)

How To Install ImageMagick (And Imagick) With jp2 Support On CentOS (6.0)This tutorial describes how to install ImageMagick and imagik with jp2 support on CentOS 6.0.1. First we have to remove imagemagick.yum remove ImageMagick2. Now install some dependencies.yum install jasper-develyum install jasper3. Download tar.gz from www.imagemagick.org.cd /tmpwget ftp://mirror.aarnet.edu.au/pub/imagemagick/ImageMagick-6.7.3-1.tar.gz4. Install:tar zxf ImageMagick-6.7.3-1.tar.gzcd ImageMagick-6.7.3-1./configure –prefix=/usr –with-modules –with-perl=/usr/bin/perl –with-jp2 –enable-shared –disable-st

Read More »
Installing Lighttpd With PHP5 (PHP-FPM) And MySQL Support On Ubuntu 12.04

Installing Lighttpd With PHP5 (PHP-FPM) And MySQL Support On Ubuntu 12.04

Installing Lighttpd With PHP5 (PHP-FPM) And MySQL Support On Ubuntu 12.04Lighttpd is a secure, fast, standards-compliant web server designed for speed-critical environments. This tutorial shows how you can install Lighttpd on an Ubuntu 12.04 server with PHP5 support (through PHP-FPM) and MySQL support. PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites. I use PHP-FPM in this tutorial instead of Lighttpd’s spawn-fcgi. 1 Preliminary NoteIn this tutorial, I use the hostname server1.exam

Read More »
Installing Apache2 With PHP5 And MySQL Support On CentOS 6.3 (LAMP)

Installing Apache2 With PHP5 And MySQL Support On CentOS 6.3 (LAMP)

Installing Apache2 With PHP5 And MySQL Support On CentOS 6.3 (LAMP)LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on a CentOS 6.3 server with PHP5 support (mod_php) and MySQL support.I do not issue any guarantee that this will work for you! 1 Preliminary NoteIn this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate. 2 Installing MySQL 5To install MySQL, we do this:yum install mysql mysql-serverThen we create the system st

Read More »

Install Memcached And PHP5-MemCached Module On Debian 6.0 (Squeeze)

Install Memcached And PHP5-MemCached Module On Debian 6.0 (Squeeze)”Memcached is free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.”More information about memcached can be found at http://www.memcached.org/
This article is going to explain how to install memcached and PHP5-MemCached module on a Debian 6.0(Squeeze) system with Apache2. 1. Installingapt-get install memcached php5-memcached”apt-get” is a very powerful command-line tool for handling packages. H

Read More »

How To Set Up Apache2 With mod_fcgid And PHP5 On OpenSUSE 12.2

How To Set Up Apache2 With mod_fcgid And PHP5 On OpenSUSE 12.2This tutorial describes how you can install Apache2 with mod_fcgid and PHP5 on OpenSUSE 12.2. mod_fcgid is a compatible alternative to the older mod_fastcgi. It lets you execute PHP scripts with the permissions of their owners instead of the Apache user. 1 Preliminary NoteI’m using an OpenSUSE 12.2 server in this tutorial with the hostname server1.example.com and the IP address 192.168.0.100.I will create two Apache vhosts in this tutorial, www.example1.com and www.example2.com, to demonstrate the usage of mod_fcgid. 2 Installing Ap

Read More »

Building PHP 5.4 From Source On Debian Squeeze

Building PHP 5.4 From Source On Debian SqueezeVersion 1.0.0For ISPConfig: 3.0.5.1Author: Michel Käser This tutorial describes how you can build PHP 5.4 from source on Debian Squeeze. Later on, we will install more modules through PECL and add it as an additional PHP version to ISPConfig’s dropdown.At the end you will have a fully function PHP 5.4 installation which is selectable within the ISPConfig interface and a .deb package than can be used on other server as well.I do not issue any guarantee that this will work for you! 1 RequirementsTo follow this tutorial yo

Read More »
How To Run Your Own Web SMS Portal With PointSMS

How To Run Your Own Web SMS Portal With PointSMS

How To Run Your Own Web SMS Portal With PointSMSThis tutorial will show you how you can set up an SMS web site on CentOS using PointSMS. What we need before we start is apache, mysql server, php5, wget. Installing MySQL 5To install MySQL:yum install mysql mysql-serverThen we create the system startup links for MySQL (so that MySQL starts automatically whenever the system boots) and start the MySQL server:chkconfig –levels 235 mysqld on/etc/init.d/mysqld start Installing Apache2Apache2 is available as a CentOS package, therefore we can install it like this:yum install httpd Now configure your

Read More »
Installing Apache2 With PHP5 And MySQL Support On Debian Wheezy

Installing Apache2 With PHP5 And MySQL Support On Debian Wheezy

Installing Apache2 With PHP5 And MySQL Support On Debian WheezyLAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on a Debian Wheezy server with PHP5 support (mod_php) and MySQL support.I do not issue any guarantee that this will work for you! 1 Preliminary NoteIn this tutorial, I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate. 2 Installing MySQL 5First we install MySQL 5 like this:apt-get install mysql-server mysql-clientYou will be

Read More »

Functions In PHP

Functions In PHPThis article is a continuation of my famous “Fast PHP Tutorials”
series. I had stopped writing for the last, only, 6 years :P, because
of my entrepreneurship ventures. Thank you all my fans and students
around the world for your feedback and support.Well, functions
are considered to be a complicated topic in programming and many newbies
think it will cost them a hand and a leg to master them. But mark my
words and mark them well – functions are your friends and they are one
of the easiest and most effective things in programming to learn. REAL WORLD EXAMPLE 1:Remember
those one

Read More »
Installing Apache2 With PHP5 And MySQL Support On Ubuntu 13.04 (LAMP)

Installing Apache2 With PHP5 And MySQL Support On Ubuntu 13.04 (LAMP)

Installing Apache2 With PHP5 And MySQL Support On Ubuntu 13.04 (LAMP)LAMP is short for Linux, Apache, MySQL, PHP.
This tutorial shows how you can install an Apache2 webserver on an
Ubuntu 13.04 server with PHP5 support (mod_php) and MySQL support. I do not issue any guarantee that this will work for you! 1 Preliminary NoteIn this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100. These settings might differ for you, so you have to replace them where appropriate.I’m running all the steps in this tutorial with root privileges, so make sure you’re logged in as root

Read More »