You are here: Re: Should I yum install php or compile it? « PHP Programming Language « IT news, forums, messages
Re: Should I yum install php or compile it?

Posted by mrbog on 07/12/07 16:43

On Jul 12, 5:58 am, Toby A Inkster <usenet200...@tobyinkster.co.uk>
wrote:
> Sjoerd wrote:
> > Installing it from a package gives you a fairly standard PHP
> > installation. For my distribution, it is even possible to add extensions
> > using packages. However, if you want the latest version, extension for
> > which no packages exists, or some other option which does not come with
> > the package, you have to compile PHP yourself.
>
> Installing PHP using your package manager shouldn't preclude you from
> compiling additional modules yourself.
>
> My main development machine has PHP installed via Mandriva's URPMI tool,
> but I've compiled the pdo and pdo_pgsql extensions myself.
>
> --
> Toby A Inkster BSc (Hons) ARCS
> [Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
> [OS: Linux 2.6.12-12mdksmp, up 21 days, 13:34.]
>
> demiblog 0.2.0 Released
> http://tobyinkster.co.uk/blog/2007/06/28/demiblog-0.2.0/


But what if I want to add ming or curl or ftp or dom? Could I do the
equivalent of this with yum:

../configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysqli=/
usr/bin/mysql_config --prefix=/usr/local/php521 --with-gd --with-zlib-
dir=/usr/local --with-png-dir=/usr/lib --with-jpeg-dir=/usr/local --
with-config-file-path=/usr/local/apache2/conf --with-curl --with-dom --
with-pgsql=/usr/local/pgsql821 --enable-ftp --with-ming

 

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

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