Fatal error: Cannot re-assign auto-global variable _COOKIE in sites/all/modules/ga_tokenizer/class.gaparse.php on line 35

Fatal error: Cannot re-assign auto-global variable _COOKIE in sites/all/modules/ga_tokenizer/class.gaparse.php on line 35. if you see this error your module is not compatible with the pHP you're using downgrade to lower php or check compatible versions.

PHP defunct processes high load

This is usually caused by apache configuration problems. If you see this you are probably running apache as suphp. It is a fact that the root cause of this process is due to one of the bugs from apache on suphp module, normally what you should do is compile the apache and change the php mode from suphp to dso or something else, everything should be working fine again after disabled suphp from the server.

how to compress linux whole directory

Type the following in your shell command

tar -zcvf callit_what_you_want.tar.gz /directory_u_want_archive
the letter mean the following

-z: Compress archive using gzip program
-c: Create archive
-v: Verbose i.e display progress while creating archive
-f: Archive File name

To uncompress later
typ the following command

$ tar -zxvf directory_u_archived.tar.gz

It's forbidden to download drupal core into an existing core.

you are not allowed to download drupal7 into existing drupal 6 site. The .htaccess will complain, Set up your D7 site in a different directory, and use a rewrite rule in your Apache configuration file to alias mysite.com/d7 to your Drupal 7 site. That would work. Apache config not supported here, though.

How to quikly backup and restore mysql database

This is a quick way of how to backup and restore your database.

TO backup issue this command
$ mysqldump -u root -p[root_password] [database_name] > backupfle.sql

To restore issue this command

$ mysql -u root -p[root_password] [database_name] < backupfile.sql

Notice > and < operators.

I usually put my database dumpfile in the database directory of mysql. For example for centos /var/lib/mysql so that the backed up file and restore database are in the same directory

Apache Yahoo News Feed

Drupal Yahoo News

Linux Yahoo News Feed

Mysql Yahoo News Feed