[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Help on XTR and PHP (The Fix)
- Subject: Re: [cobalt-users] Help on XTR and PHP (The Fix)
- From: "Paul Vernon" <paul@xxxxxxxxxxx>
- Date: Sat Aug 17 17:00:02 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
>
>
> >
> > I mistakenly upgraded the PHP on my XTR without first consulting the
> > developer group to see who had problems with it (oops)....
> >
> > Now it seems I have broken the UI.
> >
> > My question is: What files were overwritten that need to be replaced
with
> > original files?
> >
> > My next question: Is there anybody out there can can tar up those
files
> > for me? I only have access to the one XTR that is screwed up, so
> > I'm pretty
> > much SOL on finding those files myself.
> >
> > I do not want to have to do a re-install of the OS.
> >
>
> Hi Paul,
>
> When we did this, we had to do an OS restore. I'm hoping that somebody
has
> figured out a way to restore the UI after a PHP upgrade, but I haven't
heard
> of any yet.
>
> I'd be glad to help out - but I have no idea the files that get
> over-written.
>
> if somebody can identify the directories to tar up, I'll help in whatever
> way I can. I know exactly the pain you are feeling, as we had it in
> January. (fortuneatly, we did it on an idle server, so it wasn't difficult
> to restore)
>
> -Mark
>
> Whirled Web
>
Okay, thanks to Marks help I am posting the Fix to this problem.
Here are the files that needed to be replaced from a working XTR:
/usr/lib/apache/libphp4.so
/usr/lib/apache/php/cce.so
/usr/lib/apache/php/i18n.so
/usr/lib/apache/php/pgsql.so
Since the php.ini file for the UI is not in the default php location, it
should not have been overwritten (and was not in my case). That location is
/etc/admserv
I have created an alternate libphp4_http.so to use on the regular server
that runs on port 80. Just have to specify that in the httpd.conf file.
Future reference: Don't "make install" any more php upgrades... :-)
Paul Vernon