Skip to content

Conversation

sudofox
Copy link
Contributor

@sudofox sudofox commented Dec 23, 2016

cPanel servers don't automatically switch to EasyApache 4 when they're updated to the version the script checks. The official way to check if the server is running EA3 or EA4 is to check if the file /etc/cpanel/ea4/is_ea4 exists. EasyApache 3 itself actually checks if the file exists, and if it does, it exits:

stat("/etc/cpanel/ea4/is_ea4", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(2, "EasyApache3 is not available whe"..., 60EasyApache3 is not available when EasyApache4 is in effect.

cPanel servers don't automatically switch to EasyApache 4 when they're updated to the version the script checks. The official way to check if the server is running EA3 or EA4 is to check if the file /etc/cpanel/ea4/is_ea4 exists. EasyApache 3 actually checks if the file exists before exiting:

stat("/etc/cpanel/ea4/is_ea4", {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
write(2, "EasyApache3 is not available whe"..., 60EasyApache3 is not available when EasyApache4 is in effect.
@jwineman
Copy link
Contributor

jwineman commented Jan 6, 2017

Haven't forgot about this (email is still in my inbox) but probably can't look until next week.

@sudofox
Copy link
Contributor Author

sudofox commented Feb 10, 2017

Hate to bump issues, buuut it's been over a month. May I inquire into the status of this?

@jwineman
Copy link
Contributor

Sorry! This works great, thank you for the PR. Really appreciate it!

@jwineman jwineman merged commit 43cec5d into cloudflare:master Feb 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants