I have updated the test.php script shown in the first message to include output from passthru(id);
the result is uid=99(nobody) gid=99(nobody) groups=99(nobody) which indeed indicates that the module is not running properly.
re phpinfo(); - I use it a lot, but I am not sure where I am supposed to be looking to confirm the module is working ok.
Here are some that I thought might be helpful, please let me know if there are other pieces that would help.
Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/local' '--with-xml' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-magic-quotes' '--with-mysqli' '--with-mysql=/usr' '--enable-discard-path' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-zlib'
Loaded Modules mod_auth_passthrough, mod_log_bytes, mod_bwlimited, mod_php4, mod_ssl, mod_setenvif, mod_so, mod_expires, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime, mod_log_config, mod_env, http_core
I notice that there is no mod_phpsuexec - I assume there should be?!
Under update apache, (after clicking load previous config) it has the following ticked;
PHP suEXEC Support
suEXEC Module
I also notice that the php version ticked is 4.1, but phpinfo says I am running 4.2!?
What is that about?