I wrote this small script to verify that my suPHP was infact working on the server.
Copy & paste this in to a file test.php on your server and run it on your favourite browser.
If the current script owner is the same as the user that php runs as, than suPHP works.
<?php
echo ‘Current script owner: ‘ . get_current_user(). ‘<br>’;
echo ‘UID:’ . getmyuid() . ‘<br>’;
echo ‘GID:’ . getmygid() . ‘<br>’;
echo ‘PID:’ . getmypid() . ‘<br>’;
echo ‘<br>’;
echo “PHP runs under the user: [" . system('whoami') . "]<br>”;
?>

I get the following error:
Parse error: syntax error, unexpected ‘.’ in /var/www/html/su.php on line 3
maybe you’ve accidentally put a . in the script. it should work as it is.
you can also try replacing the single quotes with double quotes.
Finally! This is just what I was lioonkg for.