core/mds: Fix some apache errors

these errors are due to new php version of Debian Wheezy