Using Cron with Drupal and Cpanel
Posted October 17th, 2008 by DrupalSo, I need to research this to figure out what the heck is going on in this little script and how it works, but in the mean time - just for me and you - here is what works:
cd '/home/sitename/public_html' ; php -q 'cron.php' > /dev/null 2>&1
but this also works (I have this on another site):
php /home/sitename/public_html/cron.php
Registered Globals
Posted August 14th, 2008 by DrupalGetting a registered globals issue when trying to install a drupal site on the 1and1.com shared hosting environment. Simple fix - should have written it down earlier, but resolved simply by adding the following code to the .htaccess file that is preset with the drupal site:
AddType x-mapp-php5 .php