Sanjay S Nair wrote: > Hi > > I want to add gd to php. For that i want to know the installation > location of php > > Could anybody tell me the default installation directory of php and apache. rpm -ql <foo> and which <foo> would tell you but you don't need all that. Just run the following command. # yum install php-gd Rahul