Toms Online Notebook Sharing my stuff.

Entries tagged [php]

Small PHP/OwnCloud issue during Fedora 20 to 21 upgrade

by tgutwin

Posted on Monday Jan 25, 2016 at 06:30PM in Technology

After succesfully upgrading F20 to F21 using Fedup (on my server); my Owncloud CRON install was not working.php logo

Cron entry looks like:

*/10  *  *  *  * apache php -f /var/www/html/owncloud/cron.php

So I tried it on the commandline and an error told me that the new
upgraded version of PHP had a change in the default setting (in
/etc/php.ini)  for always_populate_raw_post_data. It told me to set it to:

always_populate_raw_post_data = -1

The cron now runs without error.