I'm running linux / cPanel 11 / php 5. I'm trying to enable GD. I've read the easiest way to do so is modify the configuration file ( http://www.web-tech-india.com/articles/php/compiling_php_apache/#php ). When I browse to "/usr/local/lib/php" however, and try to run "./configure" I get "No such file or directory" Please advise. Thank you.
Are you sure GD is not available? How did you install apache? Did you install it from packages or by downloading the source and compiling. It seems like you installed from packages. If that is the case then you do not need to worry about compiling again, just install the right package for CentOS. Try just running this command: Code: yum install php-gd
./ means run in the current directory. ./configure will run the "configure" that is in the current directory. If you are compiling something from source, you should be in the source directory. "/usr/local/lib/php" is NOT a source directory.