Try using the CGI-php script if you not already, create a file called php.ini with the following option in it
allow_call_time_pass_reference = On
ThatÃ¢â¬â¢s known as a call-time pass-by-reference, which PHP controls with the following setting in php.ini:
By default, in recent PHP releases the above setting should be switched to Off; turning it on is Ã¢â¬Åfrowned uponÃ¢â¬Â by PHPÃ¢â¬â¢s makers. Switched off, PHP will generate warning errors every time a function call specifies an argument should be passed by reference. As such, itÃ¢â¬â¢s good practice to leave this setting off.
The reason why call time pass by reference is a Ã¢â¬Åbad thingÃ¢â¬Â is that call time passing by reference can make code extremely difficult to follow. IÃ¢â¬â¢ve occasionally seen PHP XML parsers written using a call-time pass-by-referenceÃ¢â¬âitÃ¢â¬â¢s nearly impossible to gain any idea of whatÃ¢â¬â¢s going on.
The Ã¢â¬ÅdecisionÃ¢â¬Â as to whether a variable is passed by reference or not is one that belongs to the function being called, not the code that calls it. The above code written correctly would look like this:
// Accept by reference - good practice
$myMessage = ‘Hello World!’;