#1 (permalink)  
Old 06-25-2002, 04:41 PM
Registered User
 
Join Date: Feb 2002
Posts: 74
mpope2
Upgrading PHP with buildapache.sea

Hello,

I have recently installed the buildapache.sea upgrade and was under the impression that this would also upgrade php to version 4.2.1 . For some reason, it has not upgraded php on my box. (An old version still remains).

This is very important, for a number of reasons I need to get PHP upgraded to the latest version. Please let me know what I should do.

I am running red hat 7.1

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-26-2002, 01:21 AM
itf itf is offline
Registered User
 
Join Date: May 2002
Posts: 626
itf
Did you receive any error during installation of Buildapache.sea?

try to reinstall buildapache.sea.
__________________
Please use messengers to contact me:
MSN: patrickay@msn.com
AIM: PatrickITF
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-26-2002, 01:26 AM
Registered User
 
Join Date: Feb 2002
Posts: 74
mpope2
Nope, no errors that I could see. However when you install buildapache.sea a million lines fly by, so I suppose there could have been some errors in there.

I have installed it multiple times, and it never upgrades the php. I installed it on a different server and the upgrade went through fine.

Any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-26-2002, 01:41 AM
itf itf is offline
Registered User
 
Join Date: May 2002
Posts: 626
itf
Are these two lines available in /usr/local/apache/conf/httpd.conf ?

LoadModule php4_module libexec/libphp4.so

AddModule mod_php4.c


restart Apache then check PHP version in WHM -& Sever Status -& Apache Status
__________________
Please use messengers to contact me:
MSN: patrickay@msn.com
AIM: PatrickITF
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-26-2002, 01:47 AM
Registered User
 
Join Date: Feb 2002
Posts: 74
mpope2
Yes, both of those lines are in httpd.conf . Restart apache, check PHP version in Apache Status: PHP/(oldversion)

The old php version is working properly, I just need to upgrade it to the new version.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-26-2002, 04:53 AM
Advanced cPanel/WHM User
cPanel Partner NOC BadgeAdvanced cPanel/WHM User
 
Join Date: Nov 2001
Location: San Clemente, Ca
Posts: 667
shaun is on a distinguished road
lsattr /usr/bin/php
lsattr /usr/local/apache/libexec/libphp4.so

show me what those return. Also at the very end of the buildapache.sea what does it say. Paste the last 4 or 5 lines for me.
__________________
Shaun Reitan
www.NDCHost.com
www.cPlicensing.net <- External cPanel Licensing
www.ProVPS.com <-- Xen Virtual Private Servers w/ cPanel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 06-26-2002, 05:06 AM
Registered User
 
Join Date: Feb 2002
Posts: 74
mpope2
lsattr /usr/bin/php
outputs:
-------------- /usr/bin/php

lsattr /usr/local/apache/libexec/libphp4.so
outputs:
-------------- /usr/local/apache/libexec/libphp4.so

I cannot remember what the last 4-5 lines of the buildapache.sea are, and do not want to run that thing right now. I will run it a little later when the load declines and post the results. Please let me know if the above tells you anything!

Thanks for your help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 06-26-2002, 06:21 AM
Registered User
 
Join Date: Aug 2001
Posts: 419
Curious Too
This happened to me before -- I had one machine that had problems with curl so the php installation died when it got to that point -- some sort of failed dependency error.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 06-26-2002, 11:49 AM
itf itf is offline
Registered User
 
Join Date: May 2002
Posts: 626
itf
it's better to reinstall glibc then reinstall buildapache.sea it should solve the problem
First query which packages are installed by this command

rpm -qa | grep 'glibc'

in a sample RH 7.3 box it shows:
glibc-2.2.5-34
glibc-common-2.2.5-34
glibc-devel-2.2.5-34
glibc-kernheaders-2.4-7.14

Download and copy the latest version of above packages in a same folder

Use this command to reinstall packages and all of its dependencies

rpm -Uvh --replacepkgs glibc*.rpm
__________________
Please use messengers to contact me:
MSN: patrickay@msn.com
AIM: PatrickITF
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 06-26-2002, 12:30 PM
Registered User
 
Join Date: Feb 2002
Posts: 74
mpope2
I've got:
glibc-common-2.2.4-24
glibc-2.2.4-24
glibc-devel-2.2.4-24

Should I download these three and reinstall them, or should I try to get the latest version 2.2.5-34 ? This is a redhat 7.1 box. And should I get the glibc-kernheaders-2.4-7.14? It is not currently on the box.

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 06-26-2002, 12:42 PM
itf itf is offline
Registered User
 
Join Date: May 2002
Posts: 626
itf
[quote:2e179a6c26][i:2e179a6c26]Originally posted by mpope2[/i:2e179a6c26]


I've got:
glibc-common-2.2.4-24
glibc-2.2.4-24
glibc-devel-2.2.4-24

Should I download these three and reinstall them, or should I try to get the latest version 2.2.5-34 ? This is a redhat 7.1 box. And should I get the glibc-kernheaders-2.4-7.14? It is not currently on the box.

Thanks![/quote:2e179a6c26]
use this command and the result will be those packages that you should get and reinstall for your current Redhat

rpm -qa | grep 'glibc'

cpanel automaticly updates glibc to the latest version the latest version for RedHat 7.1 is glibc-2.2.4-24
no you should not install glibc-kernheaders in RedHat 7.1

then use this command

rpm -Uvh --replacepkgs glibc*.rpm
__________________
Please use messengers to contact me:
MSN: patrickay@msn.com
AIM: PatrickITF
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 06-26-2002, 01:15 PM
Registered User
 
Join Date: Feb 2002
Posts: 74
mpope2
Re-installed glibc rpm's, re-installed buildapache.sea , stopped httpd, started httpd,

php -v: 4.0.4pl1

Didn't work, so here are the last 4-5 lines of buildapache.sea:


checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... (cached) yes
configure: error: This c-client library is build with SSL support.

Add --with-imap-ssl&amp;=DIR&amp; to your configure line. Check config.log for details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.

Any ideas?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 06-26-2002, 11:00 PM
itf itf is offline
Registered User
 
Join Date: May 2002
Posts: 626
itf
[quote:d067af4e42][i:d067af4e42]Originally posted by mpope2[/i:d067af4e42]

Re-installed glibc rpm's, re-installed buildapache.sea , stopped httpd, started httpd,

php -v: 4.0.4pl1

Didn't work, so here are the last 4-5 lines of buildapache.sea:


checking for pam_start in -lpam... yes
checking for crypt in -lcrypt... (cached) yes
configure: error: This c-client library is build with SSL support.

Add --with-imap-ssl&amp;=DIR&amp; to your configure line. Check config.log for details.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.

Any ideas?

[/quote:d067af4e42]
Which options did you select during installation 1) Beginner or 2) Advanced?
__________________
Please use messengers to contact me:
MSN: patrickay@msn.com
AIM: PatrickITF
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 06-26-2002, 11:20 PM
Registered User
 
Join Date: Feb 2002
Posts: 74
mpope2
Tried it on beginner twice, did not select any options (there were none to select). Reinstalled the glibc libraries, then did it once in advanced mode, when the menu came up, I did not change any of the options. (There wer some preselected, etc.)

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 06-27-2002, 03:19 AM
Advanced cPanel/WHM User
cPanel Partner NOC BadgeAdvanced cPanel/WHM User
 
Join Date: Nov 2001
Location: San Clemente, Ca
Posts: 667
shaun is on a distinguished road
if you want, send me your logons and ip i will take a lock

shaun.murphy@ochosting.com
__________________
Shaun Reitan
www.NDCHost.com
www.cPlicensing.net <- External cPanel Licensing
www.ProVPS.com <-- Xen Virtual Private Servers w/ cPanel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:33 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc