PHP upgrade woes [message #12894] |
Thu, 18 September 2003 13:04 |
BugLaden
Messages: 216 Registered: February 2002 Location: Westminster, MD
Karma:
|
Senior Member |
|
|
If you have a redhat system, you are pretty much stuck unless you take some serious risks and put significant time into it so you can run anything past 2.3.9 RC1
The problem is with the RPM packaging system. If you want to upgrade to PHP 4.2.2, the package REQUIRES you to go to Apache2. That version of PHP is also compiled for v8.0 of RedHat, so you need to upgrade tons of packages.
I didn't want to use Apache2, so I tricked rpm into thinking I had it installed. No dice, the PHP was compiled against Apache2, so wouldn't run against v1.3.27.
So what I did was remove all packages that had any sort of dependency on PHP, removed PHP from the system, and installed the source and compiled. Once that was done, everything worked.
I'm not thrilled about having compiled stuff on my system, because that complicated maintenance. I like the rpms and the ease of upgrading, but my god you have to twist yourself into a pretzal sometimes to get something to work!
-=BugLaden
|
|
|