Linux / UNIX Tech Support Forum
This is a discussion on PHP 5 issue within the Coding in General forums, part of the Development/Scripting category; Hi I installed php -5(5.2.6) in my red hat 4 box then i removed and install PHP 5.4.1 through rpm ...
|
|||||||
| Coding in General Discussion on PHP/Perl/Python/Ruby/GNU C or C++. MySQL, PgSQL and (X)HTML or any other programming languages you want. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi
I installed php -5(5.2.6) in my red hat 4 box then i removed and install PHP 5.4.1 through rpm package. when i am doing php -v it stil shows me 5.2.6 while actual php version on my system is 5.4.1 |
| Sponsored Links | ||
|
|
|
||||
|
Run /usr/bin/php -v and see the output,
__________________
Vivek Gite Linux Evangelist |
|
|||
|
hi nixcraft
thanks for your reply below are the outputs, /usr/bin/php -v PHP 5.1.4 (cli) (built: Nov 4 2008 12:06:15) php -v PHP 5.2.6 (cli) (built: Nov 3 2008 17:30:02) please suggest, |
|
||||
|
you got only php 5.1.4, to safer side just following to make sure you do not have both version installed
Code:
rpm -qa | grep -i 'php*'
__________________
Vivek Gite Linux Evangelist |
|
|||
|
rpm is showing both ( the default with RHEL-4 and the one i installed using your method), I was not able to remove the default one, php-5.2.6 i installed using make not rpm
here is the rpm output rpm -qa | grep -i 'php*' php-pear-4.3.9-3.22.9 php-5.1.4-1.esp1 php-xml-5.1.4-1.esp1 php-ldap-4.3.9-3.22.9 kdegraphics-3.3.1-10.el4 kdegraphics-devel-3.3.1-10.el4 php-mbstring-4.3.9-3.22.9 php-domxml-4.3.9-3.22.9 php-pgsql-5.1.4-1.esp1 cdparanoia-libs-alpha9.8-24 php-mysql-5.1.4-1.esp1 php-imap-5.1.4-1.esp1 php-4.3.9-3.22.9 cdparanoia-alpha9.8-24 gphoto2-2.1.4-7 gphoto2-devel-2.1.4-7 php-gd-4.3.9-3.22.9 php-debuginfo-5.1.4-1.esp1 php-odbc-5.1.4-1.esp1 php-pgsql-4.3.9-3.22.9 php-snmp-4.3.9-3.22.9 php-pdo-5.1.4-1.esp1 php-mbstring-5.1.4-1.esp1 php-xmlrpc-5.1.4-1.esp1 php-ncurses-4.3.9-3.22.9 php-gd-5.1.4-1.esp1 php-snmp-5.1.4-1.esp1 php-odbc-4.3.9-3.22.9 libtheora-1.0alpha3-5 gphoto2-2.1.4-7 perl-XML-Grove-0.46alpha-27 cdparanoia-devel-alpha9.8-24 theora-tools-1.0alpha3-5 php-dba-5.1.4-1.esp1 php-ncurses-5.1.4-1.esp1 php-xmlrpc-4.3.9-3.22.9 php-ldap-5.1.4-1.esp1 cdparanoia-libs-alpha9.8-24 php-devel-5.1.4-1.esp1 php-mysql-4.3.9-3.22.9 libtheora-1.0alpha3-5 libtheora-devel-1.0alpha3-5 php-devel-4.3.9-3.22.9 php-bcmath-5.1.4-1.esp1 php-imap-4.3.9-3.22.9 php-soap-5.1.4-1.esp1 |
|
|||
|
Hi nixcraft
as per instruction here Install PHP 5 on Red Hat Enterprise Linux version 4 I removed php 4.3.9 and used option --nodeps now i do not see php-pear under the link you have suggested for x86_64 php rpm packages. now if i am querying rpm -qa | grep php below is the output. php-5.1.4-1.esp1 php-xml-5.1.4-1.esp1 php-pgsql-5.1.4-1.esp1 php-mysql-5.1.4-1.esp1 php-imap-5.1.4-1.esp1 php-debuginfo-5.1.4-1.esp1 php-odbc-5.1.4-1.esp1 php-pdo-5.1.4-1.esp1 php-mbstring-5.1.4-1.esp1 php-xmlrpc-5.1.4-1.esp1 php-gd-5.1.4-1.esp1 php-snmp-5.1.4-1.esp1 php-dba-5.1.4-1.esp1 php-ncurses-5.1.4-1.esp1 php-ldap-5.1.4-1.esp1 php-devel-5.1.4-1.esp1 php-bcmath-5.1.4-1.esp1 php-soap-5.1.4-1.esp1 Please suggest for the same ASAP thank you very much in advance |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Small Issue : please help resolvinig it | ermunishanand | Shell scripting | 1 | 11-10-2008 01:54 AM |
| squid configuration issue | kathy79 | CentOS / RHEL / Fedora | 0 | 04-07-2008 05:06 PM |
| Issue During MRTG Installation???/ | ajeetraina | CentOS / RHEL / Fedora | 0 | 02-06-2008 06:14 PM |
| Issue related to shells | vaibhav.kanchan | Getting started tutorials | 4 | 25-03-2008 12:52 AM |
| Log Off Issue | tkinsella | Linux software | 1 | 30-08-2005 03:03 PM |