You are here: Re: php-gd « All PHP « IT news, forums, messages
Re: php-gd

Posted by Ozz on 05/01/07 18:07

Thanks Aho.

On Apr 27, 10:57 pm, "J.O. Aho" <u...@example.net> wrote:
> Ozz wrote:
> > Hi folks,
> > I think I need some pointers here. I have a fc6 running apache/php
> > 5.1.6. By default, gd lib in not included in php. To include it, you
> > need to re-compile php with gd. All works well until here.
>
> > But, what if I also want to be able to update php5 automatically, as
> > the updates are released. Traditionally, once to recompile anything,
> > it can no be updated through update manager...
>
> You can make your own RPM based on the official, you donwload the *.src.rpm
> and install it: rpm -i package.src.rpm
>
> Now go to /usr/src/fedora/SPECS and edit the php.spec and just add the gd
> option to configure, save the spec and then build it with:
> rpmbuild -ba /usr/src/fedora/SPECS/php.spec
>
> When finished you have a new RPM in /usr/src/fedora/RPMS/{def-arch}/
>
> Of course next time you auto update you will loose the gd support if it's not
> built in by Fedora.
>
> Otherwise you can switch to a meta-distribution like Gentoo, where you can
> select which options should be compiled into each package and you will get
> that each time you upgrade.
>
> --
>
> //Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация