Web Hosting Talk







View Full Version : PHP install problem


superprogram
06-06-2005, 03:16 AM
I did not know where to ask this problem so posting it here

The version of php used is 4.3.2.

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.

2. The second question is how different are the 2 versions? Could it pose many problems if I choose to revert to php 4.2.2?

Thanks

MarkIL
06-06-2005, 08:01 AM
Uh, what does phpinfo() say? Perhaps you have a different CLI binary somewhere in your PATH?

TimSG
06-06-2005, 05:34 PM
Off topic I know but I would urge you to upgrade to php 4.3.10 ASAP.

Burhan
06-07-2005, 02:41 AM
php -v is using the CLI-build, which is different than mod_php.

If you view phpinfo(); from a web browser, then you will see 4.2.2.

I would also urge an upgrade, but to the latest 4.3.11.

superprogram
06-07-2005, 06:05 AM
Yes, phpinfo shows 4.2.2
What do I do now?

mozzchops
06-09-2005, 05:16 AM
Looks like your RPM database got corrupted along the lines.

I'd download the source RPM, rpm -ivh it and rebuild the rpm (increasing the revision number)

Then upgrade !