LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to turn on "imagefilter" in Php (https://www.linuxquestions.org/questions/linux-server-73/how-to-turn-on-imagefilter-in-php-4175434875/)

mahi_nix 10-31-2012 05:40 AM

How to turn on "imagefilter" in Php
 
Hi Folks,

I wanted to Install/Enable ImageFilter Feature in my Installed Php Lenny machine. I googled for the same and found that It is available with php-gd bundled library. I have already installed php-gd package and working fine but i dont have Imagefilter feature available. Anyone Please suggest me how can i install/enable Imagefilter feature in my Installed Php Version on Lenny.

Thanks in Advance,

jonesr 10-31-2012 02:28 PM

Installing php-gd is not enough. The manual page for imagefilter says: "Note: This function is only available if PHP is compiled with the bundled version of the GD library."

PHP needs to have GD "baked in" for imagefilter to be available. See the Installation docs for Image Processing and GD.

mahi_nix 11-01-2012 04:13 AM

Hi jonesr,

Thanks for your reply. I have php5 and php5-gd installed on server can you suggest me the step how can i installed compiled version of GD without removing php5 and php5-gd packages. I checked Installation link given by you but i am not able to understand what exactly you wanted to tell me. I am not that much familier with php.

Please help me to understand the things.

Thank YOu,

mahi_nix 11-01-2012 04:21 AM

Hi jonesr,

I found one link which tells how to create package from gd library and install. Please check the link below and suggest me on the same.

Thank YOu,

jonesr 11-01-2012 08:55 PM

Since I don't know what parts you are having trouble with, see if the process here makes more sense.

The critical part is in Step 3. You need to include "--with-gd" on the command line when you run "./configure".


All times are GMT -5. The time now is 01:08 AM.