Re: php rpm

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

 



Daniel Brown wrote:
On Wed, Feb 4, 2009 at 09:46,  <admin@xxxxxxxxxxxxxxxxxxx> wrote:
Okay here is my question.
Does anyone know of an RPM of php that is pre-compiled with all the extras like soap, mssql, freetds, etc...

    Afternoon, Rich, et al;

    On an RHEL 5.3 system, you should already have 'yum' installed
with the repos ready to go by default, so just drop to a command line
and, as root, type:

    yum install php-soap
    yum install php-mssql
    yum install php-pdo

    .... etc.

    If your 'yum' isn't working from the get-go, check
http://rpmfind.net/ or http://pbone.net/ for the individual RPM's.


This probably more then one rpm :-) .

You can do most of things using your distro's repos but usually PHP doesn't come in a single rpm. The truth is IMHO that pre-compiled packages are responsible for some failures in certain circumstances but generally are very good if you don't want to get your hands dirty.

A good way to see how is your distro giving you a prepackaged PHP set of rpms is using yum:

# yum search php

This is to get the list of all the available packages. You can then go and install what you need. Using:
# yum install php (and whatever you need)

It is not a good practice making an rpm with all the features included because it could become huge and it will probably need many dependencies in order to get installed properly.

IMHO that is why the best OS to use as on a web server is FreeBSD because of the flexibility provided by the ports system and the way that PHP is divided into small parts that can be added or removed easily.

Not to mention that you are compiling PHP (as a port) and you can update it or remove it like a package the same time.

Again this is my point of view that I wanted to share.

---
Thodoris

[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