#1 (permalink)  
Old 11-24-2007, 02:40 AM
Registered User
 
Join Date: Nov 2007
Posts: 8
majdi is on a distinguished road
Apache problem -Urgent

Hello,

I have upgraded php from 4.4.7 to 5.2.4 using WHM Apache update. the process completed successfully, however, now i cannot run any php file!!!! i get a file open window in my browser:you have chosen to open a file which is application/x-http-php. can you please help ASAP!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 11-24-2007, 04:33 AM
Registered User
 
Join Date: Nov 2007
Posts: 8
majdi is on a distinguished road
I fixed the problem by uncommenting the following lines in httpd.com

LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c


however, i'm still running php4!!!!

any help in upgrading to php5???
i used to Apache Update Under software update in WHM and checked php 5.2.4? any other way to upgrade to php5???

Last edited by majdi; 11-24-2007 at 05:49 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-24-2007, 06:01 AM
Registered User
 
Join Date: Mar 2006
Posts: 1,215
jayh38 is on a distinguished road
What build of easy apache and cpanel are you using?

Did you try running updates prior to building as recommended?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-24-2007, 06:14 AM
Registered User
 
Join Date: Nov 2007
Posts: 8
majdi is on a distinguished road
I have the following versions:

WHM 11.2.0 cPanel 11.11.0-S18033
REDHAT Enterprise 4 i686 on standard - WHM X v3.1.0

Apache/1.3.39 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.7 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.30 OpenSSL/0.9.7a

No, i did not run updates, just used the Apache update under software updates
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-25-2007, 05:16 AM
Registered User
 
Join Date: Mar 2006
Posts: 1,215
jayh38 is on a distinguished road
Thats the latest stable build.

I would try running
/scripts/upcp --force or in whm > cpanel > upgrade to latest version

and tick the "force reinstall" box then try a php upgrade.

It will provide you the location of the build log so you can refer to it for errors.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-25-2007, 03:07 PM
Registered User
 
Join Date: Nov 2007
Posts: 8
majdi is on a distinguished road
Thanks, it worked!
i had to update CPanel first then install PHP5. However, mysql was not enabled until i installed MySQL DEVEL package and re-complied phh5 again
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:52 PM.


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