Hi !
1. Try to see what phpinfo() is returning. That's the right version of php
2. The diference is not so big... and if you don't know the diference betwen those two versions, probably you don't use that "different things". Anyway, on http://www.php.net/ you can get more informations
1. If I say rpm -qa | grep php, I get mod_php4-4.2.2 and mod_php4-core-4.2.2
If I do php -v, I get 4.3.2. How could that be possible? I am sure the version which is being used is 4.3.2.
It can be that you have more than one PHP installations on your system. For instance, my ancient Mandrake system at work comes with mod_php4.xx with its Apache advx server but I also installed PHP 5 for work testing requirements. The Apache module loaded by the Web server is 4.x but on the command line the 5.0.x version is loaded (because it is in /usr/local which comes before /usr/bin). It's really confusing, so I plan to remove the 4.x with "rpm -e" sooner or later.
Try this. Do a "which php" and check whether the returned path agrees with the list of files returned by "rpm -ql mod_php4". Mine doesn't:
I did not install the PHP4 executable from the RPMs, so there is no /usr/bin/php but Apache will load PHP4 with the shared object.
To add more confusion, the two PHP installations may actually read different configuration files (php.ini). So, to see the exact configuration you need to run phpinfo() with the intended PHP installation to find it out.
while the distribution php.ini points to /etc/php.ini. Confusing, huh?
Dear All,
My redhat version is:
# cat /etc/redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
#
# uname -a
Linux cotapplication3.cot.com 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux
#
I want to update my php from:
# php... (1 Reply)
When i try to install rpm with rpm -ivh ntp* it shows package is already install and when i query for same package it shows package is not installed ?How to resolve DSA signature error for rpm? How to choose rpm package except redhat version(el5) and architecture(i386) and site link for that? (5 Replies)
I am attempting to install an rpm of Apache from perzl.org on an AIX 6100-07-03-1207 server and it is failing. I think I have all of the dependencies installed. Can anyone help? Any help would be appreciated.
It fails with the following error:
# rpm -Uvh httpd-2.4.2-2.aix5.1.ppc.rpm ... (3 Replies)
How to make RPM not write to RPM database if RPM fails to deploy?
IE I create an rpm spec file that contains the following
if
then
exit 1
fi
My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
I'm trying to install mysql on a server, but I keep getting an error. Can anyone offer any help?
Below I've listed a bunch of info that you might find helpful.
Here are the commands I'm using.
$ ls
MySQL-client-community-5.1.35-0.rhel3.i386.rpm... (2 Replies)
Dear All,
I have messed up my server which was running rhel4U6 by removing the rpm package glibc-2.3.4-2.39 . kindly guide me how can i fix this problem . I have
tried to chroot /mnt/sysimage but it is not working.
Any idea's how to fix the problem
regrds (2 Replies)
I downloaded gcc-cplusplus-4.0.0-1.aix5.2.ppc.rpm from IBM AIX Toolbox Download Page - Alphabetical Listing
but:
-bash-3.00# rpm -ivh gcc-cplusplus-4.0.0-1.aix5.2.ppc.rpm
error: gcc-cplusplus-4.0.0-1.aix5.2.ppc.rpm cannot be installed
I can't understand wht kind of error is it... Can be... (1 Reply)
I have my system setup different then the conventional setup:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdc2 2.0G 977M 936M 52% /
/dev/hdc1 97M 9.0M 83M 10% /boot
none 251M 0 251M 0% /dev/shm
So when I try... (2 Replies)