LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   update redhat enterprise to php 5.0.2 (https://www.linuxquestions.org/questions/linux-software-2/update-redhat-enterprise-to-php-5-0-2-a-505391/)

ltbaggz 11-27-2006 08:34 PM

update redhat enterprise to php 5.0.2
 
I am trying to update the default linux installation of php 4.3.9 to php 5.0.2. ive tried to use:

php -i | grep Configure

to get configuration options but since linux installed when the OS was installed there is all kinds of stuff in there and i can not make sense of it. I currently have the new version of php in /usr/src/php-5.0.2 but cannot get ./configure to work. any help would be greatly appreciated.

thanks
drew

btmiller 11-27-2006 11:15 PM

You should get the Red Hat src.rpm, install it, and look at the spec file (in /usr/src/redhat/SPECS). It will have the ./configure options. You might want to grab a PHP5 source RPM if you can (there may be one available for Fedora) and then build it with rpmbuild so you get a binary RPM to install. The difference is that RPM will be built especially for your system. You can also use the checkinstall utility to make RPMs for stuff compiled from source.


All times are GMT -5. The time now is 06:03 AM.