ylluminate

Member
Apr 12, 2013
16
2
3
cPanel Access Level
Root Administrator
Phusion Passenger 5 (Raptor) is a huge must for this release of EasyApache. We need the ability to run Ruby, Python, and JS (Node and Meteor) apps in a seamless fashion. This has to be figured out with this release. I have been running Passenger 5 now for 6 months on cPanel and it is a dream and works well with virtual hosts, but it is a serious hassle that it's not supported right out of the box. A lot of folks would be excited to see this introduced and would see cPanel as a viable option if this were the case.
 
  • Like
Reactions: Nirjonadda
Mar 13, 2015
6
1
1
brazil
cPanel Access Level
Website Owner
Hello,

Will you intend to support in EasyApache4 Apache's MPM Event and mod Proxy for using PHP-FPM? (Apache HTTPD 2.4.9+ required)

I've been maintaining for years with this servers and it's the best performance and lowest memory consumption possible.
I am very anxious to have PHP-FPM in my Cpanel box, but it's taking years for this...
 

JacobPerkins

Well-Known Member
May 2, 2014
617
97
103
cPanel Access Level
DataCenter Provider
Twitter
Hello,

Will you intend to support in EasyApache4 Apache's MPM Event and mod Proxy for using PHP-FPM? (Apache HTTPD 2.4.9+ required)

I've been maintaining for years with this servers and it's the best performance and lowest memory consumption possible.
Hi!
Yep, you'll be able to achieve this setup with EA 4, however please note that in regards to PHP-FPM, we're only releasing an RPM with no API / UI support yet. Any user and pooling setup will need to be done manually.
 

JacobPerkins

Well-Known Member
May 2, 2014
617
97
103
cPanel Access Level
DataCenter Provider
Twitter
Phusion Passenger 5 (Raptor) is a huge must for this release of EasyApache. We need the ability to run Ruby, Python, and JS (Node and Meteor) apps in a seamless fashion. This has to be figured out with this release. I have been running Passenger 5 now for 6 months on cPanel and it is a dream and works well with virtual hosts, but it is a serious hassle that it's not supported right out of the box. A lot of folks would be excited to see this introduced and would see cPanel as a viable option if this were the case.
Phusion Passenger isn't something we've talked about yet. One of the first additional web servers I want to get support for is Nginx. After that, additional language support is a must.
You note that it's a serious hassle to get working / setup. What type of difficulties did you encounter?
 
  • Like
Reactions: eva2000

inetbizo

Well-Known Member
Many customizations will still be possible, just done differently. In general these are:
One problem I'm currently facing in my test cloudlinux install is the ability to set PHP version on sub-domains. Their documentation would require me to rename all php files to .php53 and that's just not possible. Web apps like osCommerce insert require statements to specific files. All of which is looking for a specific .php file.

Can you help with that or take it into consideration when you make your feature stable?
 

JacobPerkins

Well-Known Member
May 2, 2014
617
97
103
cPanel Access Level
DataCenter Provider
Twitter
One problem I'm currently facing in my test cloudlinux install is the ability to set PHP version on sub-domains. Their documentation would require me to rename all php files to .php53 and that's just not possible. Web apps like osCommerce insert require statements to specific files. All of which is looking for a specific .php file.

Can you help with that or take it into consideration when you make your feature stable?
Hi!

MultiPHP support in EasyApache 4 will provide access to update addon, sub and primary domains to different PHP versions without renaming files. It's currently in EDGE, feel free to try it out and let us know how it works!
 
  • Like
Reactions: inetbizo

TheKip

Registered
May 31, 2015
1
0
1
Indoors
cPanel Access Level
Root Administrator
I tried opening up the EasyApache 4 link on my sidebar a while back, and all it said was "EasyApache 4 is not available when EasyApache 3 is active." Then I tried it again some time later, and found that slightly more detail had been added, "If you would like to use EasyApache 4, the following url contains instructions on how to convert to EasyApache 4."
That would be nice to know, since I'm eager to move away from recompiling everything every time there's a PHP point release, but the URL it provides - go.cpanel.net/installEA4 - points to another URL - https://confluence0.cpanel.net/display/EA4/How+to+Install+or+Uninstall+EasyApache+4 - which just times out.
On a whim, I tried replacing confluence0.cpanel.net with the regular cPanel/WHM/EA documentation server, documentation.cpanel.net, but that just gives me a login screen.
Can someone help me out here, or is the entire EasyApache 4 page that's linked in the sidebar just make-believe right now?
 

JacobPerkins

Well-Known Member
May 2, 2014
617
97
103
cPanel Access Level
DataCenter Provider
Twitter
Hi!

My apologies. This is not yet a public documentation link as 11.52 hasn't technically been released. I'll see if I can get those documents published a bit early.

I've done a quick and dirty copy/pasta of the installation document below. I hope this helps!

Warning:

You must activate rpm_up if you install EasyApache 4 onto your system.

Overview
This document discusses how to install or uninstall EasyApache 4 (EA4). You can install or remove EasyApache 4 with the /scripts/migrate_ea3_to_ea4 script.

Important:

To run this script, you must log in as the root user via SSH on a cPanel & WHM server that runs one of the following operating systems:

  • CentOS 6
  • CentOS 7
  • Red Hat® Enterprise Linux® 6


How to Install EasyApache 4
To install EasyApache 4, perform the following steps:

  1. Run the following command:

    /scripts/migrate_ea3_to_ea4 --run
  2. A prompt will display all of the changes that you will make. To continue, follow the system's instructions.
The table below lists the flags you can use with this command:

Flag
Description
Flag
Description

--run Run this script.
--help Display help information.
--revert Revert to the previous version and configuration.
How to uninstall EasyApache 4
To uninstall EasyApache 4, perform the following steps:

  1. To revert to EasyApache 3 from EasyApache 4, run the following command:

    /scripts/migrate_ea3_to_ea4 --revert --run
    Notes:
    • This command reverts the system to your previous EasyApache 3 installation and configuration.
    • This command attempts to move the previous Apache files to a new location and revert the server to the previous state. You can upgrade and downgrade as many times as you wish.
    • The chance of errors dramatically increases the more that you migrate back and forth. If you revert several times, you must manually delete the previous/usr/local/apache.ea3.1/ backup directory to continue. The system automatically preserves the /usr/local/apache/ directory.
    Important:

    Each time that you perform a migration from EasyApache 3 to EasyApache 4, the system moves the /usr/local/apache/ directory to the /usr/local/apache.3/ directory.
    • If the /usr/local/apache.3 directory exists, the system moves the /usr/local/apache/ directory to the /usr/local/apache.3.1 directory.
    • If a migration runs with the /usr/local/apache.3.1 directory in place, the migration will fail in order to prevent loss of data.
  2. Follow the system's instructions.

    Note:

    The system will prompt you to pass the --run flag to indicate that you wish to proceed.


 

JacobPerkins

Well-Known Member
May 2, 2014
617
97
103
cPanel Access Level
DataCenter Provider
Twitter