How to install imagick on linux server?

Steps to install imagick on your linux server :

================

cd /usr/local/src

wget http://pecl.php.net/get/imagick-2.2.0.tgz

tar -zxvf imagick-2.2.0.tgz

cd imagick-2.2.0

phpize

./configure

make

make install

================

That’s it.

Regards,
Prewebhost Team

How to disable wp-cron.php for wordpress site!

You can disable WP-cron by modifying the wp-config.php (located in the folder where WordPress is installed). Open the wp-config.php file, add a new line after <?php, then add the following code on the new line:

define(‘DISABLE_WP_CRON’, true);
That’s it.
Regards,
Prewebhost Team.

Linux Cron Job vs. WP-Cron!

Linux cron jobs can be controlled by the user, making certain that the items constrained by schedule are run appropriately. Also, for a high-traffic WordPress site, a Linux cron job can assist with reducing the chances of downtime by lowering the bandwidth on the server, thus using less server resources.

However WP-cron is a virtual cron that only works when the page is loaded. WP-cron is first loaded by WordPress when a page is requested on the front or backend of a site at which point WP-cron displays the necessary page to the site visitor. Though convenient, it is known to fail for a variety of reasons, including but not limited to the following:

  • Conflict of plugins
  • DNS-related issues
  • WordPress bugs
  • Use of caching plugins
  • Large server load

Regards,

Prewebhost Team

 

1 2 3 4 7