Koozali.org: home of the SME Server

Upgrading PHP to 4.2

Robert Boardman

Upgrading PHP to 4.2
« on: August 01, 2003, 07:08:31 PM »
is there a howto to upgrade php to 4.2x, a lot of people are talking about it but I cannot find the docs

using sme5.6

Thanks for your help

Robb


Robert Boardman

Re: Upgrading PHP to 4.2
« Reply #2 on: August 02, 2003, 12:04:13 AM »
Hi Dan

thanks for all your  recent replies, that web site doesn't seem to ba avaliable, is it mirrored anywhere?

Robb

Dan Brown

Re: Upgrading PHP to 4.2
« Reply #3 on: August 02, 2003, 12:56:17 AM »
There's no mirror that I'm aware of, but the article pulled up just fine for me about 30 seconds ago.

Mark Allison

Re: Upgrading PHP to 4.2
« Reply #4 on: August 04, 2003, 06:40:11 PM »
Robert,

 I used the link that you provided to upgrade my php to 4.2 and it seems to have worked fairly well.  the only problem that I have now is that all of my webpages show up blank. This includes both HTML/PHP and webmail.  Any suggestions would be helpful.  I'm not even sure where to start trouble shooting.

Thanks,
mark

Mark Allison

Re: Upgrading PHP to 4.2
« Reply #5 on: August 04, 2003, 06:41:41 PM »
Robert, sorry this should have been to Dan Brown.

So Dan,

I used the link that you provided to upgrade my php to 4.2 and it seems to have worked fairly well. the only problem that I have now is that all of my webpages show up blank. This includes both HTML/PHP and webmail. Any suggestions would be helpful. I'm not even sure where to start trouble shooting.

Thanks,
mark

Dan Brown

Re: Upgrading PHP to 4.2
« Reply #6 on: August 05, 2003, 08:44:41 PM »
I wouldn't call that working "fairly well".  Are there any errors in /var/log/messages or in your apache error log?

Mark Allison

Re: Upgrading PHP to 4.2
« Reply #7 on: August 06, 2003, 06:23:17 AM »
Dan,

   Thanks for writing. I've checked the logs and found nothing out of order.  I've checked the system from the local network and everything is working fine.  But if I try to access the web mail from the internet (https), all I get is a blank screen.  Have I missed something?   One of the notes that I read about upgrading php said that it could cause problems with web mail, and that another module needed to be updated.  I can't remember were I read it, or what module to upgrade.
   So, for now it all works from the local net, and the only thing not working from the internet is the web mail. Can the web mail be upgraded? and do you think that upgrading it might help?

Thanks,
Mark

Dan Brown

Re: Upgrading PHP to 4.2
« Reply #8 on: August 06, 2003, 07:17:33 AM »
If you followed the directions at the link above, you would have upgraded the webmail as well.  Yes, I believe you need to upgrade the webmail to work with the newer version of PHP.

Mark Allison

Re: Upgrading PHP to 4.2
« Reply #9 on: August 06, 2003, 07:46:11 AM »
I followed the instrutions so it may just be a problem with the IMP portion of the upgrade.  It works on the local net, but not from an external network.  I'll look for a newer version of IMP and install it.

Thanks,
Mark

Dan Brown

Re: Upgrading PHP to 4.2
« Reply #10 on: August 06, 2003, 07:55:15 AM »
what does 'rpm -q imp' return?  Though if it works from the LAN, that isn't likely to be your problem...

Mark Allison

Re: Upgrading PHP to 4.2
« Reply #11 on: August 06, 2003, 08:01:36 AM »
imp-3.2.1-2es  and I think that's the lattest greatest.

Dan Brown

Re: Upgrading PHP to 4.2
« Reply #12 on: August 06, 2003, 08:13:46 AM »
You're right, that's the latest.  Problem must be somewhere else.  You're sure there's nothing in the system logs?  I've been running into occasional blank page problems, but there's always been an error logged.

Mark Allison

Re: Upgrading PHP to 4.2
« Reply #13 on: August 06, 2003, 08:15:39 AM »
Can you give me an example of what to look for?

Dan Brown

Re: Upgrading PHP to 4.2
« Reply #14 on: August 06, 2003, 08:25:31 AM »
Well, anything with PHP in it would be a good candidate for /var/log/messages, or anything from the horde directory in error_log.  If I had a more specific idea, I'd already know what your problem was.  (-: