Hi,
check if execution of phpinfo() is disabled in php.ini.
Another "problem" might be that php has been compiled with modules so functions like the mysql_??? functions only work if you either put e.g. dl("mysql.so") at top of your script or enable those modules by making sure that the lines
enable_dl=On
and extension=..... exist like
enable_dl=On (for using dl inside the scripts)
extension=mysql.so (so you don't need dl inside your scripts)
exist in php.ini
Depending on the os you might need to change .so to whatever extensions shared libraries have.
Thomas