Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Nov 2007
    Posts
    8

    Default 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!!!

  2. #2
    Member
    Join Date
    Nov 2007
    Posts
    8

    Default

    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.

  3. #3
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    What build of easy apache and cpanel are you using?

    Did you try running updates prior to building as recommended?

  4. #4
    Member
    Join Date
    Nov 2007
    Posts
    8

    Default

    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

  5. #5
    Member
    Join Date
    Mar 2006
    Posts
    1,215

    Default

    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.

  6. #6
    Member
    Join Date
    Nov 2007
    Posts
    8

    Default

    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

Similar Threads & Tags
Similar threads

  1. Apache, php and suexec problem... URGENT
    By KimBO in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 11-13-2007, 01:41 AM
  2. Apache Server problem - help me urgent
    By realsumon in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-28-2007, 10:31 AM
  3. urgent: apache down
    By Secret Agent in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-19-2005, 11:21 AM
  4. Update Apache Problem (Urgent!!)
    By Mysteerie in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 03-24-2005, 10:55 AM
  5. URGENT APACHE/EASYAPACHE problem
    By tris in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-02-2005, 03:10 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube