Note: Since PHP 4.3 there is a bundled version of the GD lib. This bundled version has some additional features like alpha blending, and should be used in preference to the external library since its codebase is better maintained and more stable.
I am using 4.4.1 so I have the bundled version. I was told I will have to recompile PHP to enable GD. Is this true? Or can I just configure something?
php.net/gd says this
To enable GD-support configure PHP --with-gd[=DIR], where DIR is the GD base install directory. To use the recommended bundled version of the GD library (which was first bundled in PHP 4.3.0), use the configure option --with-gd. GD library requires libpng and libjpeg to compile.
Which seems completely foreign to me.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
If you're using something like red hat or an RPM based system I would never install PHP using the package managers. Download the source code (.tar.gz) from the PHP website, extract the sources (tar -xvzf php-<version>.tar.gz), and then go into the directory it creates and run the configure with any options you need before installing. Like jshpro2 said:
linux # ./configure --help #Take a look at the various options available
linux # ./configure --with-gd --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs
linux # make
linux # make install
The above is just an example... you can have whatever options at the ./configure command that you need. If you want to know where all the files are going to end up more easily....