Re: PHP5.0.3-3 on RedHat
| From: | John Nichel | Date: | Wed, 09 Mar 2005 18:12:47 +0000 |
| Subject: | Re: PHP5.0.3-3 on RedHat | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-210333@lists.php.net to get a copy of this message | ||
Bronislav Klucka wrote:
John Nichel wrote: <snip>
It's been a long time since I've done it this way, but I think it's something like this (I'm sure someone on the list will correct my errors).... Download and extract the source. CD to the source directory...You can build the RPM from the source.... rpmbuild -ta php-5.0.3xxx.tar.gz It will put the RPM somewhere like /usr/src/redhat/RPMS/I've done this... how can I specify php configure parameters? (--with-mysql, etc) Brona
$ ./configure --add-your-options $ cd .. $ tar -cf php-5.0.3xx.tar php-5.0.3xx/ $ rpmbuild -ta php-5.03xx.tarUntested, but I think that's the steps. You can also try 'make rpm' after you configure the source. I seem to remember something along those lines. Course, if you're going to go thru all that trouble, you could just build it all from source, and bypass the whole RPM process. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com