You will need to answer some questions first.
1)What exactly is your issue and what errors do you encounter when loading a php page?
2)What php version do you have?
3)In what Primary or IBay are you trying to run php pages?
I have changed the base_dir to / and to the web location e.g /home/e-smith/files/ibays/Primary/html and it still does not work.
Sounds like you are editing the php.ini file or a template fragment?
Try this:# /sbin/e-smith/db accounts setprop youribayname PHPBaseDir /home/e-smith/files/ibays/youribayname
or
if you need a /tmp directory then:# /sbin/e-smith/db accounts setprop youribayname PHPBaseDir /home/e-smith/files/ibays/youribayname/:/tmp
Then do a# service httpd restart