Re: Fatal error while trying to rebuild search index
What does "php -v" on the command line give you?
The error "Fatal error: Can't use method return value in write context " is typical of using empty() with a function call, which as far as I know should be allowed from PHP 5.5+.
Does reindexing from the Tiki control panel via the browser work?