Category Archives: PHP

How to set different PHP settings for subdomain / subdirectory?

Normally, your hosting account’s PHP configuration file exist in at /conf/php.ini and the setting applied globally for your account. But if there is need to change the default settings for one of your subdomain or subdirectory then follow these steps:

  1. Log in to your account via SSH
  2. Copy the complete file /conf/php.ini to the subdomain / subdirectory folder in which you would like the custom settings applied.
  3. Edit the new php.ini with the custom settings you want applied to the subdomain / subdirectory
  4. Inside the same folder where you copied the php.ini, create an .htaccess file which contains the below line:

SetEnv PHPRC.

This will instruct Apache to create that environmental variable available to all script in that directory and PHP will check it to determine where to search the php.ini.

Note: following step is very important

Certainly, you will not want the outside world to have access to your settings in your php.ini file. So what is the solution? Add the following line to the .htaccess file in the same directory: read more

Introduction to WordPress Content Management System

Wordpress Hosting

History of WordPress CMS

Since year 2000, there have been various technological revolutions that have taken great importance in the evolution of Information Technology (IT) and the Internet. However, in the year 2004, the revolution took a shape that had begun to take shape several years ago, and it was finally known as the Web 2.0 revolution, a concept that was created in 2004 by one of the co-founders Dale Dougherty of O’Reilly Media, referring to the remarkable changes that were creating Internet and the World Wide Web. read more

Introduction to Joomla Content Management System

joomla web hosting

History of Joomla CMS

On the origins of the WWW or World Wide Web, pages that were designed were static in nature and really simple, the language on which HTML2 rested, did not allow much to do. If you had to make any changes, you were required to edit the code for each page individually. Given this, it is possible to get an idea of the work that would modify such sixty pages. Many developers and manufacturers identified this problem and create the 90 programming languages “server side” as ASP 3 or PHP4, which together with the use of data bases that would allow the dynamic generation of web pages. This opened a way for the development of the first content management systems or CMS (Content Management System). read more

A look back: History of the PHP programming / server-side scripting language!

PHP Programming/Scripting Language Logo

PHP is one of the most widely-used server-side scripting languages for creating dynamic web pages and web applications. Some of the most popular web applications including forums, e-commerce shopping applications, content management systems and blogging applications are developed using the PHP programming language. PHP is incredibly easy and simple to learn but has a huge array of features for the most complex applications you’d need to create. A few prominent examples of popular PHP applications include WordPress, being one of the largest blogging software used in the world; phpBB, a popular bulletin board software and Joomla, a popular content management system (CMS) developed in PHP (among others). read more

Simple Steps To Install phpMychat Script Manually

PhpMychat is a chat room, which is based on PHP or MYSQL script. If users have VPS hosting and they want to install this php based chat room, then they can go through the following steps :

1. Open the link : http://sourceforge.net/projects/phpmychat/

2. Download : phpMyChat-Plus_1.93_full.zip

3. Enter the directory where the users want to install that particular filed. The users have to keep in mind that the directory must be the top-level directory on his or her website.

4. Specify the database:
mysql_setpermission
Name of database :
Username :
Yes to password :yes
Enter Password :
Confirm Password :
Host :localhost
Yes to create :yes
Create Another :no
Exit :0 read more

Alternative PHP Cache – APC

The “Alternative PHP Cache” (APC) is a free and open opcode cache for PHP. It was designed to provide a free framework, open and robust for caching and optimizing PHP intermediate code. It is known that APC should normally be included an alternatively in php icon wink Alternative PHP Cache.

We should use it to optimize the access of portals, and it is true that the improvement is really important!

Here is a small howto explaining how to install an APC on debian with php4.

First you need to install PEAR
apt-get install apache2
apt-get install libapache2-mod-php4
apt-get install php-pear
apt-get install php4-dev
apt-get install make
pecl install apc read more