Re: Is the GD module standard?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The GD module is an option that most sys admins install with php (It also 
installs by default on OS such as Centos, Ubuntu, etc...)

-- 
itoctopus - http://www.itoctopus.com
"Dave M G" <martin@xxxxxxxxxxxxx> wrote in message 
news:46638B56.2080204@xxxxxxxxxxxxxxxx
> PHP General,
>
> I have been using the imagepng() function in my local testing environment 
> for a while now to make CAPTCHA images.
>
> In my testing environment, I hadn't done any customization to my PHP set 
> up. I went with the default set of installation options that Ubuntu offers 
> for a LAMP server.
>
> Recently, I uploaded my site to a web hosting server, and the CAPTCHA 
> would not display.
>
> At first, I didn't understand that it was a module issue, because I 
> thought the imagepng() function was standard in PHP.
>
> However, by using the phpinfo() command on my hosting service, I realized 
> they don't have the GD module installed.
>
> So my assumption that imagepng() will be available on any standard 
> installation of PHP is wrong.
>
> However, I'm surprised that it wouldn't be as common as, say, the MySQL 
> module.
>
> Is it that my Ubuntu installation comes with an unusual amount of bells 
> and whistles? Is it that my web hosting server is lacking in what can be 
> expected for standard PHP features?
>
> I want to write code that most people can expect to run on their hosting 
> services without having to reconfigure their PHP installation. So, can I 
> expect that most servers would have the GD module? If not, what do people 
> usually do to manipulate images?
>
> Thank you for any advice.
>
> -- 
> Dave M G
> Ubuntu Feisty 7.04
> Kernel 2.6.20-15-386 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux