Errors on enabling Imap module for PHP 5.3

configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.

OS – RHEL 5 x86_64
Configure PHP 5.3.0

./configure –with-imap=/home/krishna/courier-imap-4.6.0 –with-kerberos –with-imap-ssl –with-mysql=/usr/local/mysql –with-apxs2=/usr/local/apache2/bin/apxs –with-mcrypt –with-gd –enable-mbstring –with-gettext –enable-bcmath –enable-calendar –enable-wddx

To correct this,

Install libc-client-2004g-2.2.1.x86_64.rpm & libc-client-devel-2004g-2.2.1.x86_64.rpm

This should correct the errors.


Ok – here is another,

configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation

Create a soft link to the 32-bit libraries.

ln -s /usr/lib64/libc-client.a /usr/lib/libc-client.a

Run configure again and you shouldn’t see this error.

U8T_CANONICAL is missing

configure: error: utf8_mime2text() has new signature, but U8T_CANONICAL is missing. This should not happen. Check config.log for additional information.

This should not happen? Damned right it shouldn’t, especially when you need PHP 5.2 on the triple. Googling won’t help you, Mr. Bond – Googling for this specific error leaves much to be desired. Until (hopefully) now.

The fix is so easy, even a caveman could do it:

yum install libc-client libc-client-devel

WordPress Maintenance : How to Optimize and Repair Database Tables

From time to time it is a good idea to do a little housekeeping with your WordPress installation, especially if you’ve been experimenting with and deleting plugins. MySQL databases don’t clean themselves. Optimizing your database is something akin to when you defrag your hard drive or change the oil in your car. It will help to free up disk space and keep your database running smoothly.
How to Optimize Your WordPress Database

Optimizing database tables can be done manually using phpMyAdmin or by using a plugin. I’m of the opinion that if you don’t absolutely require a plugin to do it, then it’s best not to add another. However, if you’re not familiar with phpMyAdmin, then a plugin may be a safer option for you.
Plugin Options:


This is a database cleanup and optimization tool. It allows you to remove post revisions, comments in the spam queue, un-approved comments within few clicks.

WP Database Optimizer: This plugin allows you to optimize your WordPress tables on a schedule. It uses the WordPress Database Class to do the work, and you can set the number of days in between optimizations.

Clean Options: This plugin finds orphaned options and allows for their removal from the wp_options table.
Optimization using phpMyAdmin:

If you’re slightly more adventurous and you want to get a hands-on idea of what’s going on with your database, open up phpMyAdmin.
Step 1: Check for Overhead

Step 2: Choose “Check All Tables Having Overhead”

As shown in the image above, you’ll be able to check all the tables that need to be optimized. Once they are checked, select “optimize table” from the drop down menu. This will take care of all of your tables at once. You should see this kind of success message:

How to Repair WordPress Tables

Occasionally you may have a table crash. When this happens, one symptom might be that all of your posts seem to have disappeared, or perhaps all of your drafts. You may even get a message in phpMyAdmin telling you that one of your tables haves crashed. No need to worry. Repairing tables is very easy.
Step 1: Login to phpMyAdmin and select the affected database

Choose the database that pertains to your WordPress blog. If you have only one it should be automatically selected.
Step 2: Check the boxes by the tables that need repair.

Once the boxes are selected, go to the drop down menu and choose “Repair Table”. You should see a success message when it’s completed.
How to Automatically Repair Your WordPress Database

Occasionally, your database may become so corrupt that you cannot login. This is a time when you might want to enable WordPress’ own ability to optimize the database. WordPress 2.9 and later has automatic database optimization support, which you can enable by adding the following define to your wp-config.php file only when the feature is required:


You can find the script it uses at: at {$your_site}/wp-admin/maint/repair.php

Above all else, make sure to backup your database before making major optimization efforts or attempting to repair tables. You may thank yourself later. There are many more ways that you can optimize your WordPress database, but these are a couple of the basics to get you started. Set up a regular schedule for optimization and keep your sites running smoothly!

Getting Traffic on eyeblaster/addineyeV2.html Page That Doesn’t Exists?

So, you’re getting undesired traffic on your page that really doesn’t exists. Same happened with me and for a moment it made me think how can i get traffic on such a page which i never created and thus doesn’t exists, neither any of backlinks from other sites or internal links from my site point to that page.

As usual i asked for help to our best friend Google and at first glance i didn’t got any straight forward answer, so i dig up more into inner page results and bang i got the solution. This has to do with Adsense Ads.

So what basically is the problem? Well, i am not a code pro, but i can surely say that it has to do something with Rich Media, Flash or iFrame Adsense Ads that are displayed on our website. When a user clicks on such ads, these ads require help from code that is placed in to perform further action. It is very similar like DoublelClick Rich Media Ads for which we need to have iFrame.html file placed in DoubleClick folder that is placed on root directory of our website.

Ok, so we got the problem and what if we decide to do nothing about it? Well nothing much will happen except that you’ll lose few bucks that you can make from such ads, because clicks on these ads are not counted as the click result didn’t ended up in the way it should.

So, right click this link > addineyeV2.html choose save as and save this file to your desktop then simply create eyeblaster folder on the root directory of your site and place the addineeyeV2.html file in that folder and start making Money Again.


<BODY style=margin:0;padding:0>
<SCRIPT src=””>




nginx+php-fpm: Random 104 Connection reset by peer errors

I have a wordpress site with nginx/php-fpm, it was running well for a long time, then suddenly one day it starts to display blank page. More oddly is that there is no error message in the log. Once php-fpm was restarted, then the site is ok for a few pages, then it is displaying blank again. Finally i caught one error message

recv() failed (104: Connection reset by peer)

Then I googled and found this page!topic/highload-php-en/cLL-Z5mUZak

The solution is easy

1.yum remove httpd (other guys solve this problem just do this and step 4.5)
2.yum remove php-fpm
3.yum install php-fpm
4.service nginx restart
5.service php-fpm restart
[[email protected] /]# rpm -qa|grep httpd