How to Disable Statistic Data Collection in phpMyDirectory?

phpMyDirectory statistic data take a huge chunk of database space in MySQL. If you do not require the data, it is wise to disable the data collection as well.

To disable you have to edit the following file.

/includes/class_statistics.php

Find the following code

 if(BOT) {
 return false;
 }
 

and change it to

 if(true) {
 return false;
 }
 

2 comments… add one
  • I am running Wamp 2.2 on windows (Mysqsl 5.6.17, Apache 2.4.9, and PHP 5.5.2). There is no directory called /includes and there is no file called class_statistics.php anywhere on my machine. Any suggestions?

    Reply
    • You have to look into phpMyDirectory installation in your WAMP, not directly in your machine.

      Reply

Leave a Comment