Iconv Encoding List And PHP Usage

Iconv functions are often used in PHP when you have problems with character encoding. When you have non-latin chars in the text you work with, you might have problems with storing them, writing into database, etc. It becomes useful when you use several different encodings and when you need to store or output some text into a single… Read More »

How To Install Freetype Support for Your PHP Installation

Today we’ll add Freetype support for your PHP installation. You might need it if you work with GD library and if you want to add text on pictures. Let’s do it together. Starting PuTTY… Let’s install Freetype devel first. You can do that by issuing the following command: yum install freetype-devel. Now we need to configure PHP. Let’s… Read More »

How to Update Webalizer Stats on Directadmin

As you know, Webalizer stats are usually updated once a day, when using a Directadmin server. What to do, if you need more current stats? Here are some solutions (work good for me on CentOS 4). If you need to update all server accounts, just type in the following command as root: echo “action=tally&value=all” >> /usr/local/directadmin/data/task.queue In order… Read More »

How to Enable dba Support in PHP

This time I will show you how to add dba support to php. This is usually necessary when you’re planning to work with big databases and MySQL is not a good idea for any reason. First of all, you should have root access to your server or VPS, in order to reconfigure PHP and to reboot Apache when… Read More »