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/
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/
Do you have FTP passive ports blocked?
Dont believe so, I think thats how I connect to CC for backups..
Checkout my new forum! http://adminreference.com/
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.
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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks