That seems to fix my problems when I run test.php but the File test still gives me the error. Additionally, when I use the command: pear install File I still get the undefined getoption error. FYI: I removed all the old stuff in the pear directory before I installed the pear-1.0.gz file Mike