by David Delgado.
Just one error in the former message:
I said:
find . -type d -exec ln -s /full/path/to/moodle/.php.ini {} \;
And, of course, it is php.ini not .php.ini:
find . -type d -exec ln -s /full/path/to/moodle/php.ini {} \;
Just to let you know.