Closed Thread
Results 1 to 7 of 7

Thread: Have issues using EasyApache (WHM)

  1. #1
    phpforfun's Avatar
    phpforfun is offline Speaks fluent binary
    Join Date
    Feb 2008
    Posts
    1,232
    Blog Entries
    17
    Rep Power
    24

    Exclamation Have issues using EasyApache (WHM)

    Hello,

    I thought I would post this because it may help a few people in the long run.

    A while ago, I used easy apache to rebuild apache/php on my server, it resulted in about an hour downtime due to PHP not installing. We ended up having to manually install and configure PHP with apache. I thought it was a fluke. So a few months after, the exact same thing happened. I wasnt sure why, so I just fixed it again. About 2 weeks ago, I used EasyApache again, EXACT same results, only difference was I found out what was causing it.

    This may seem to be an easy answer, that pretty much anyone would know, but I didn't know it, and it has helped a few people so far, after they know how to solve this.

    Ready?.....

    TURN YOUR FIREWALL OFF!

    What happens is EasyApache takes 4 steps
    1) Deletes old modules (php, mod_*, everything you select)
    2) Downloads the modules you select
    3) Installs the modules you select
    4) Restarts your services (apache, php, and I think cpanel and mysql)

    Step 2 is what gets effected, it deletes your modules, then downloads them, but CSF or whatever firewall you use will probably block the downloads. Thus when it installs, it cant install what isnt there, and when it restarts the service, it will fail.

    This is a pain in the rear because it wont show as an error in either WHM or SSH rebuilds.

    Just something that has helped a few people, and I thought it may help you!

    Thank you.

    Justin H
    Checkout my new forum! http://adminreference.com/

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest
    It sounds like you have your firewall security very hardened! That is a good thing but what ports does it download using? I assume it would use either 21 (ftp) or 80 (http) which are both open on my servers.

    Anyway, thanks for the tip! I'm sure it will save someone a lot of time.

  4. #3
    phpforfun's Avatar
    phpforfun is offline Speaks fluent binary
    Join Date
    Feb 2008
    Posts
    1,232
    Blog Entries
    17
    Rep Power
    24
    Quote Originally Posted by Jordan View Post
    It sounds like you have your firewall security very hardened! That is a good thing but what ports does it download using? I assume it would use either 21 (ftp) or 80 (http) which are both open on my servers.

    Anyway, thanks for the tip! I'm sure it will save someone a lot of time.
    I actually have both of those open. And I didnt change any settings that would effect this.

    Reason I figured it was the firewall, was I did a rebuild, and it worked perfect, then I installed CSF, (made NO changes just yet), and got a ticket saying that some PHP Image manipulation commands were disabled, so I went to rebuild php with those commands, and thats when this happened. But keep in mind, it also happened when my security settings were rated 100 out of 106 o whatever, so I think its just a default setting in CSF
    Checkout my new forum! http://adminreference.com/

  5. #4
    Jordan Guest
    Do you have FTP passive ports blocked?

  6. #5
    phpforfun's Avatar
    phpforfun is offline Speaks fluent binary
    Join Date
    Feb 2008
    Posts
    1,232
    Blog Entries
    17
    Rep Power
    24
    Dont believe so, I think thats how I connect to CC for backups..
    Checkout my new forum! http://adminreference.com/

  7. #6
    Jordan Guest
    I thought we changed it to Active but I could be wrong. I'm not even sure if I have the passive port range open, lol.

  8. #7
    PowerChaos is offline Newbie
    Join Date
    Oct 2010
    Posts
    1
    Rep Power
    0

    Re: Have issues using EasyApache (WHM)

    Quote Originally Posted by phpforfun View Post
    Hello,

    I thought I would post this because it may help a few people in the long run.

    A while ago, I used easy apache to rebuild apache/php on my server, it resulted in about an hour downtime due to PHP not installing. We ended up having to manually install and configure PHP with apache. I thought it was a fluke. So a few months after, the exact same thing happened. I wasnt sure why, so I just fixed it again. About 2 weeks ago, I used EasyApache again, EXACT same results, only difference was I found out what was causing it.

    This may seem to be an easy answer, that pretty much anyone would know, but I didn't know it, and it has helped a few people so far, after they know how to solve this.

    Ready?.....

    TURN YOUR FIREWALL OFF!

    What happens is EasyApache takes 4 steps
    1) Deletes old modules (php, mod_*, everything you select)
    2) Downloads the modules you select
    3) Installs the modules you select
    4) Restarts your services (apache, php, and I think cpanel and mysql)

    Step 2 is what gets effected, it deletes your modules, then downloads them, but CSF or whatever firewall you use will probably block the downloads. Thus when it installs, it cant install what isnt there, and when it restarts the service, it will fail.

    This is a pain in the rear because it wont show as an error in either WHM or SSH rebuilds.

    Just something that has helped a few people, and I thought it may help you!

    Thank you.

    Justin H
    you got no idea how mutch this helped me

    after messing around for 5 hours and trying to figure out what modules are failing (only basic install worked ) and after searching google for a couple of hours to just try to figure out what keeps failing dit i founded your post

    i disabled the firewall and 30 min later it worked with out problems

    the main problem was that it coulnd find php handlers :S

    Thank you for this usefull post (not mutch text but it is the solution)

    Greetings From PowerChaos

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PHP Issues
    By gjcluttrell in forum PHP Development
    Replies: 2
    Last Post: 03-23-2011, 12:19 PM
  2. VB.NET issues....
    By ashiddat27 in forum Visual Basic Programming
    Replies: 3
    Last Post: 11-12-2010, 09:49 PM
  3. Progress Bar Issues
    By Umbrageous in forum C# Programming
    Replies: 1
    Last Post: 11-29-2009, 03:01 PM
  4. Easyapache/ whm/ php problem
    By dmgens in forum Linux Installation & Configuration
    Replies: 4
    Last Post: 02-20-2009, 10:46 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts