|
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
[Back to original message]
|