Execute PHP script in cron job

Automated Tasks: Cron Cron is a time-based scheduling service in Linux / Unix-like computer operating systems. Cron job are used to schedule commands to be executed periodically. You can setup commands or scripts, which will repeatedly run at a set time. Cron is one of the most useful tool in Linux or UNIX like operating … Read more

Apache is downloading php files instead of displaying them

The correct AddType for php is application/x-httpd-php AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Also make sure your php module is loaded LoadModule php5_module modules/mod_php55.so When you’re configuring apache then try to view the page from another browser – I’ve had days when chrome stubbornly caches the result and it keeps downloading the source code while … Read more