Hi michelem,
You are right, php and php5 give the same result. But if you see my first post I was using php (cgi-fcgi)...that was the problem (and not having the correct php package hahaha).
Using php (cli) from php5-cli package solved the problem. I've edit my "solved" post and removed the reference to php/php5.
Once again, thanks for your support.
rgds,
m