Our features site is undergoing a refresh! Be sure to explore the revamped site and discover our latest product roadmap launching here on Monday, March 18th.
This object is in archive! 

PHP7 support

user shared this idea 9 years ago
Completed

While php 7 is currently in beta 1, I would like cPanel to start working on the development of adding support for cPanel. On the grounds that cPanel is a bit slow adding support for new versions or technology (slower than Plesk or DirectAdmin).

Ideally, cPanel should target either php 7 release or the 1st minor point release after (7.0.1)

Best Answer
photo

We've just released PHP70 to the mirrors. You can install PHP 7 by running:

yum install ea-php70


This will install the base packages. Please don't forget to add this to your profiles so if you have to provision your profile again, PHP 7 doesn't disappear!


Enjoy!

Replies (64)

photo
1

From what I have understood once EA4 is out, PHP versions will all be rpm based and will be released much faster. Waiting for new versions multiple months after they make it to stable should be a thing of the past.


We'll have to wait and see…

photo
1

We've been hearing about EA4 (Easy Apache 4) since forever, but it hasn't been released.


php7 should be supported way before that. We shouldn't need to wait for EA4

photo
1

EasyApache 4 will be making its debut in 11.52, which our development cycle ends in 2 weeks. PHP7 will eventually make its way into EasyApache 4, but we have no plans to put it into EasyApache 3 at this time.

photo
1

Great news! So will 11.52 be in edge in only two weeks ? or is there a delay between end of developement cycle and it making it to the edge version ?


PHP 7 is currently in beta and all applications still need to check their compatibility etc.


We've tried it on our CloudLinux servers and while WordPress without plugins works fine, there are quite a few plugins that arent' compatible yet…

photo
1

Development versions have historically went to EDGE after the current RELEASE version has gone to STABLE. Since this just happened yesterday, I imagine that we'll see 11.51 in EDGE in the next week or two.

photo
3

The point is to include php 7 as soon as possible, once it releases its stable release (once php 7.0 or 7.0.1 is final and out of beta). I don't think people should be forced to wait a whole yearly quarter just for php 7 or any php release to be added to cPanel.


Both Plesk and DirectAdmin can do it in a timely manner and I would like to see cPanel be as competitive and up to date as their compitition.

photo
1

When will cPanel have PHP 7 support? ServerPilot already supports it. So does DirectAdmin.

photo
1

Hi,


We plan to release PHP 7 within the next couple of months. We're still working strong on EasyApache 4 and MultiPHP.

photo
1

Thanks for your great work guys! looking forward to enjoy PHP 7

photo
1

Tried enabling EA4 and building a profile there but ran into errors. Had to revert back to EA3 :(

photo
1

EA4 broke my server. Had to revert back too. 13 minutes downtime :(. The problem lied with the vhost. I also dislike that there are no "easy" custom PHP compilations anymore.

photo
1

I can't convert yet as i use cloudlinux 7. Plus i'm giving it time, as it looks like it still got teething problems.

photo
1

EA4 also broke mine. 48 hours down.

photo
1

Will EasyApache4 contain PHP7 when it'll be released?

photo
1

6RTH6YS


maybe soon? ;)

photo
2

Cloudlinux 7 isn't even supported yet, so alot of us cant use EA4.

photo
2

PHP 7 will be released November 12, 2015... ie... 6 days from the time of this reply. NOW is the time cPanel should be looking to add PHP 7 support.

photo
1

well... any updates?

photo
3

We plan to have PHP7 out soon. We plan to provide PHP 7 support with EasyApache 4. Once this is complete, we'll update this feature and let everyone know.


Thanks for your patience!

photo
1

Thank you for the reply this is good news.

photo
1

PHP7 and Apache 2.4.18 - can't come soon enough!

photo
1

Please, add php 7 to Easy Apache 3. Easy Apache 4 broke my site completely .

photo
2

Hi,


There are no plans currently to add PHP 7 support for EA3. Can you let us know what problems you had with EA4 via a ticket? Thanks!

photo
1

Ok, thanks!

photo
1

OK, so no PHP 7 without EA4.

But will EA4 be available (without all the "THIS IS BETA VERSION!! DON'T INSTALL!!! HAAA!!!" warnings....) the same time with PHP 7 release (which is very soon) ?


thanks

photo
1

Give us some ETA please. Thanks!

photo
1

PHP 7 is not stable yet. This week they have discovered some major issues that they have decided to release stable version later.

It's not recommend to use beta and release candidate on production systems.

photo
1

true, but it WILL be stable very soon.


EA4...... probably not so much, as no ETA was ever given...

photo
1

EA4 initial version is in v11.52 which is already in stable branch. Their plan was that EA4 should be completly stable in v54 and maybe even force the passage from EA3 to EA4 in that version.

photo
1

Cpanel cannot give any eta when they will support PHP 7 until this version is stable.

The last update from php:

This release candidate is unplanned and ships instead of the announced RTM for the reasons of yet additional quality improvement. If no major issues appear within the usual two-week test period, the 7.0.0 general availability (GA) release will be brought out. You can also read the full list of planned releases on our wiki.

photo
1

Currently EA4 is labeled as a technology preview because of the automation AROUND the apache and PHP stack. The packages provided by it are absolutely stable.


The biggest point of concern for us involve the migration process of moving people on to EA4 and the simple WHM UI for working with EA4. There are also a few features that still need to be completed to work fully with EA4. This does not mean that EA4 is in a state that will leave your server as unstable or your web services will magically break. This means that the ease of use of EA4 for non-technical users is not where it should be yet and some issues that require a sysadmin may occur (more than I would consider acceptable).


Unfortunately these are a result of the fact that we have so many edge cases to concern ourselves with in the migration process. Manually configuring a server to meet the specs of an EA3 server is a trivial task for an experienced system administrator (installing a few packages view yum, possibly some hackery to get pear/pecl to where it should be).

photo
1

I appreciate that you ARE considering edge cases and are handling this properly. Better late than lousy. I am also happy the php people are holding off on php 7 until it’s ready, though I do look forward to it. (And I wonder what the number under my avatar means?)

photo
3

GA release now available

PHP 7.0 GA Dec 3, 2015

When will cpanel support be released?

photo
3

Any updates?


PHP 7 GA is released for over a week now.

Did you begin working on this?

photo
1

I recently installed EasyApache 4 and I see it is an improvement in the right direction, but it seems very far from being stable. I encountered numerous errors with setting it up. You can't run mod_security with RUID2, or MPM ITK and when I install a default profile it results in an error (Even though the profile seems to take effect). The profile I chose says it includes php-imap but it doesn't get installed and doesn't even appear to be available from the repository.


Also the Curl package is outdated and has security flaws, and the PHP included is only 5.6.14 (The current recommend version from PHP is 5.6.15). This seems to defeat the purpose of using RPM to manage Apache modules if they aren't up to date.

It would be nice to see PHP 7 released with EasyApache 3 until EasyApache 4 is more stable and feature complete.

photo
2

Hi!


There are some issues with mod_security & RUID2/ITK, however those are also present in EA3, but we still allow those two options to be used at once. We made the determination to make those RPMs conflict due to those issues because we wanted a chance to get them working 100% before marking them compatible.

If you were using CentOS 7, php-imap is not available. This is also not available upstream via CentOS for release 7, hence why we didn't build it out on our first pass through of RPMs. We haven't gotten time to get this built yet unfortunately.

The packages lacking are due to us still figuring out the full release process, syncing to mirrors, etc. We have updates for PHP on our testing repository (ea4testing.cpanel.net), if you'd like to use cutting edge packages. We haven't synced any packages to the public mirrors in the past month or so because we're needing to do a full testing run on the new release, but we've been deep in refactoring MultiPHP to continue abstracting Apache away from cPanel & WHM.

We also did some *major* work to the migration process for 11.54. This will convert your existing EA3 profile to an EA4 profile and attempt a 1:1 parity of extensions and modules. I think you'll have no issues upgrading with 11.54.

If you're still interested in checking out EA4, feel free to throw in a ticket wtih 'Attn Jacob P', and I'll be more than happy to check out any problems you faced and see if we can come to a solution.

Thanks for testing out EA4!!! I appreciate your feedback and look forward to making EA4 work great for you.

photo
1

Sounds great, thanks for the clarification on the lacking packages :) Maybe you can keep the feature request description or "best answer" up-to-date with the latest info (like such important details about the package syncing), so all of us kan keep an eye on that.

photo
1

Thanks for the reply cPanelJacob. One suggestion I have is maybe for the installer script for EasyApache4 just have a link to your documentation website for "Known Limitations" for EasyApache 4 versions. I know it says it is a "technology preview" but it is unclear what that means. I look forward to checking out the 11.54 version. Thanks!

photo
1

GA release now available

PHP 7.0 GA Dec 3, 2015

When will cpanel support be released?

photo
1

The status of this has not changed. Please note the previous posts for updates.

photo
1

Is it possible to manually install PHP 7 without waiting for EasyApache 4, or will it cause problems with the current WHM (and EA3) installation?

photo
1

@cPanelJacob can you keep the 'best answer' or 'request post' up to date with the latest status? That way half of us don't have to ask for updates :)

photo
1

Hi,


There is no status update. We haven't started working on this yet, so there's nothing to really add. As I've stated numerous times, once we begin working on it, we'll update this request :)

photo
1

Ghehe, thanks. Then that's the status right? If that isn't clear from this topic people will keep asking.

photo
1

You haven't even STARTED working on this yet?? OMG

photo
1

PHP 7 GA hasn't been released yet.

photo
2

It actually just been released !


http://php.net/archive/2015.php#id2015-12-03-1

photo
2

WOOT! There were talks of delay due to a new OpenSSL release yesterday, but I'm glad they got it out.

photo
1

Then? PHP 7.0.0 either in EasyApache 3 (No 4, because there is not support for CloudLinux) or in PHP Selector, but there is a GA !!!!

photo
3

I fully agree, I'm not too fond of all the work that comes with EasyApache 4 when trying to achieve something custom.


Manual packages seems just like so much work compared to EasyApache 3's checkboxes when trying to maintain a perfect installation.


Although off-topic, but related to this comment:

A tailored package that will support WordPress Multisite, csv and mbstring with custom vhost (Domain Mapping), MariaDB + cache and OpCache is much appreciated.

If that package exists I'll jump to EA4 in less than a heartbeat!


Can't wait for PHP7 :) Have been programming on it for a while now and it's far from 2 times as fast. It's rather 5 times as fast!

photo
1

Offering PHP 7 is something we want to do very soon. We're wrapping up current projects and should be able to start working on this in the very near future.


We plan to offer PHP 7 support via EasyApache 4, so stay tuned for more information!

photo
1

Hi,

How long will EA3 be supported after upgrading to 11.54? I don't want to switch too soon. I foresee EA4 deployments for end 2016, maybe sooner if all goes well.

So I really hope we won't be forced to switch to EA4 too soon!

photo
1

When will 11.54 [ A.K.A ] cPanel 54 be released in Release candidate ?

photo
1

PHP 7.0 was released, but there are lots of plugins and modules that you wont be able to run, segfaults and errors...


you wont be able even compile in...

photo
1

As far as now, Oracle, Firebase and ODBC are the extensions not working.

photo
1

many more, thats why even rpm packages are not complete... you have to wait few more months

photo
1

If you have litespeed, all you have to really do, in CentOS 7, is make php7 and use the SAPI binary. There are some good tutorials on how to do this online and this would save you some time. Basically get the config that cPanel is using from phpinfo(); and run ./configure with those parameters. Unlikely you would run into problems, but some old PHP 4 code may be in your way depending on what you are hosting. I have it running here with little changes that needed to be made.

photo
1

I agree with CPanel’s decision to hold off a while. Do you want PHP 7 now, or do you want it to work properly?

photo
1

Better leave the Hosting company decide. Now, We can decide between 5.5 and 5.6.16, why not 7.0.0?

photo
1

If you are able to deal with the problems of a 0.0 release, you are able to build it yourself.

photo
1

Is not about build, is about integrate with cPanel functionality and keep mantenible.

photo
2

CPanel is all about stability. I would not want them to be wasting their time on development of PHP 7.0.0 integration while php 7 is still in beta. Now is the time for them to see about starting — and it will take a long time before it's available. Meanwhile php 7’s bugs will be found and fixed.

photo
3

Beta? PHP 7.0.0 is currently stable. 7.0.1 is pending release in fact with 7.0.2 being planned out, while 7.1 is in early development stages.

Try to keep up.

photo
2

It is not in beta. It's been out of beta for over a week.

photo
3

Don't be a jerk. I know it's been out of beta “for over a week.” I meant that I did not see any reason for them to start working on it before it came out of beta, and then I did not expect them to POUNCE and say, "php 7 is out! We need to have Cpanel support NOW!!!!!”

photo
3

They should've started working on the EA4 integration once features and the way PHP7 works were cemented and only bug fixes were outstanding, which would've been late in the beta.


Waiting for the final version to start from zero is just retarded, but I reckon they have their hands full with other issues. The result? This.

photo
1

PHP 7 is not still in beta.


Moderator note: There is no need for name calling.

photo
2

Good morning,


cPanel is actively working on PHP 7 support. As it's fresh out of beta, we hadn't started working on it before as the GA date had kept getting pushed back, and even before they released GA, there were more talks of a delay in releasing.


Note: Inappropriate comments have no place on this site. Please keep all discussions professional and without personal attacks.

photo
1

Thank you. I personally value stability above all, and my experience has been that promises of x% increase in speed often don’t pan out anyway. I do look forward eagerly to php 7, but not at the cost of days of troubleshooting and server problems... and version 0.0 releases tend to have security issues as well as bugs. Starting on it now (okay, last week) makes sense to me; by the time you integrate it, the rough edges should have been taken off and it'll be ready for actual use.

photo
1

Well PHP 7.0.0 Released December 3, 2015


I am looking forward to it as it will be stable for cPanel users and general applications that would support it.

photo
1

PHP 7.0.1 Released

photo
1

any updates?

photo
3

May I suggest that, since we know this project will likely take months to implement properly, that we hold off on asking for updates? I am also eagerly looking forward to it, but there will likely be little progress in one or two weeks. Implementing the code probably takes very little time compared with testing the code. I respectfully suggest to anyone else following this thread that we wait until mid-January (since I suspect even CPanel coders get time off) until we resume our requests for status reports.

photo
2

I am hoping they will wait for PHP 7.0.1 bugfix release expected Dec. 24th since this has resolved some major issues with PHP 7. Its not hard to compile PHP 7 with a SAPI wrapper and deploy it, so I would not expect it to take long for WHM/cPanel to actually add support for it, really.

photo
5

"take months to implement properly" ?

I've found this page that explains how to install php 7 in like 5 minutes...


https://www.codepunker.com/blog/how-to-install-php-7-on-a-cpanel-whm-driven-server-without-breaking-everything


I don't understand why it would take cpanel "months" to support it officially.

photo
1

The above tutorial looks easy enough. Wonder how much longer before cPanel officially supports this or would it be worth adding similar to the way it was done above?

photo
2

any update?

photo
1

I won't worry more about this since PHP 7 is available in CloudLinux testing repositories (alt-php) and I'm able to set it as default.

photo
1

I'm using SiteGround now and they support PHP 7 in their cloud servers, so everything is great.

photo
3

Please, make php7 available!!! Thanks!

photo
4

any updates?

photo
2

The notice at the top of the site said you'd release by the first minor point 7.0.1 but we're already up to 7.0.2.


I understand delays happen but can you please update your ETA so we can properly plan for our own development road map?


Thanks!

photo
2

Hi there, is a release date fixed ? Everyone is waiting with impatience :-)

photo
1

Hello,


There are no updates at this time. We are actively working on the PHP 7 package. We hope to release it with 11.54 soon. We've already made changes to the Internal cPanel APIs to allow PHP 7 (instead of hardcoding libphp5.so), we're still working on the binaries and getting them fully working with EA4.

photo
1

Thanks for the update. Are you thinking weeks or months until the 11.54 update is released? Are we looking at February, March, April, May, or June?


We all work with software, so we understand that delays happen with new code but any kind of ETA would be helpful.


Thanks!

photo
1

11.54 == cPanel 54, which is already released, so I guess an incremental release in it, like maybe cPanel 54.1

photo
3

Hi Michael,


Unfortunately I'm not able to provide a date or a deadline for this. We're working on it, and we'll be releasing it when it's fully complete, or in a place where it's usable for end users. I've learned the hard way (missed deadlines, upset customers) to not give dates or a time period for new software / features :) We hope to be complete in the next few weeks with it, but as I stated, I'm not able to give a definite ETA at this time.

Sorry sir!

photo
2

Thanks. Even that rough ETA of a few weeks gives us some visibility. I promise to not to start a revolt if it takes a little longer :)

photo
1

Anxious for php7 on cpanel!

photo
2

We need PHP7.


Why?

  • Improved performance: PHP 7 is up to twice as fast as PHP 5.6
  • Significantly reduced memory usage
  • Abstract Syntax Tree
  • Consistent 64-bit support
  • Improved Exception hierarchy
  • Many fatal errors converted to Exceptions
  • Secure random number generator
  • Removed old and unsupported SAPIs and extensions
  • The null coalescing operator (??)
  • Return and Scalar Type Declarations
  • Anonymous Classes
  • Zero cost asserts

photo
1

I will be happy to test it when released :)

photo
2

I will be happy when it is available as well. 54 is Release and hopefully PHP 7 support is right around the corner.

photo
1

Not sure why my comments do not show up.

photo
1

Good hear,


I can't wait when PHP7 released in the future :)

photo
1

PHP 7.0.0 comes with a new version of the Zend Engine, numerous improvements

and new features such as


  • Improved performance: PHP 7 is up to twice as fast as PHP 5.6
  • Significantly reduced memory usage
  • Abstract Syntax Tree
  • Consistent 64-bit support
  • Improved Exception hierarchy
  • Many fatal errors converted to Exceptions
  • Secure random number generator
  • Removed old and unsupported SAPIs and extensions
  • The null coalescing operator (??)
  • Return and Scalar Type Declarations
  • Anonymous Classes
  • Zero cost asserts


Source:

http://php.net/archive/2015.php

photo
2

We need PHP7 and support for PHP5.6 for sites which is not already compatible.

As you can know mysql_connect() doesn't any more exists in this release.

Easy Apache 4 have somekind of feature to set which user use which PHP version or something like that?!

photo
2

You can set which PHP you want on a per-domain basis with our MultiPHP Manager that comes with EasyApache 4.

https://documentation.cpanel.net/display/ALD/MultiPHP+Manager

photo
2

“UP TO” twice as fast, remember!


Personally I am much more enthusiastic about built in nginx support for images and other static pulls. I know what kind of added performance I'll get from that! With php7, a lot depends on what you're doing, and I think we all know we will lose some software along the way or have to spend anguished hours/days reprogramming... did you not notice:


  • Removed old and unsupported SAPIs and extensions

I am not saying I do not look forward to php7, because I certainly do. The improved random number generator will probably help ward off some attacks, the performance will be nice, the easier warnings system would be good, but I do not expect it to double in speed across the board, by any means! Seriously, I've been in computers since around 1980, and I've been saying the “up to twice as fast” claim for all that time. Sometimes it was true (full 32 bit 68000 bus vs 16 bit via a soldered-in Mac Plus accelerator; SSD drive), usually it was only true for edge cases.


Anyway, I would rather have rock solid reliable in CPanel fashion than fast but screwy. Another thing I’ve learned is that if you try to rush things, you usually lose time instead of saving it.

photo
3

Very happy to see this morning that this project was listed "In Progress". Looking forward to the release.

photo
2

We're up to 7.0.3, stable, so it's about time.


Peace,

Gene

photo
1

Indeed i am also looking forward for this. For the moment I am using this implementation

https://www.codepunker.com/blog/how-to-install-php-7-on-a-cpanel-whm-driven-server-without-breaking-everything


It works fine (Can't get it compile with PHP-FPM) but ideally I would like to see this offered by cPanel

photo
3

We've just released PHP70 to the mirrors. You can install PHP 7 by running:

yum install ea-php70


This will install the base packages. Please don't forget to add this to your profiles so if you have to provision your profile again, PHP 7 doesn't disappear!


Enjoy!

photo
1

root@server [~]# yum install ea-php70


Loaded plugins: fastestmirror, langpacks


Loading mirror speeds from cached hostfile


* base: mirror.keystealth.org


* epel: linux.mirrors.es.net


* extras: repos.redrockhost.com


* updates: mirror.raystedman.net


No package ea-php70 available.


Error: Nothing to do

photo
1

It takes some time to propagate to your mirrors :)

photo
1

Are you running EasyApache 4? If so, it should be there. We've updated our mirrors and seeds, so everyone should have it by now I'd think.

photo
1

Hello.


Please add PHP7 on the Easy Apache 3 and 4 list.


Please add latest version of PHP 7.0.3.


Thank you!

photo
1

Hi,


We will not be providing PHP 7 for EasyApache 3. It's currently available through EasyApache 4, and it's already version 7.0.3.

photo
2

Oh well. I won't use EA 4 until you make the interface less obtuse, more user oriented. Sorry.


Peace,

Gene

photo
1

We got nothing then..... GRRRR

photo
1

Hello.


Please add it on 3 too.


Thank you!

photo
1

If you won't be providing PHP 7 for EA 3, Is there any plan to have EA 4 available for CloudLinux? We already have CloudLinux 7.1 installed over CentOS 7 but it reports as below:


EasyApache 4 requires either CentOS 6 or higher or Red Hat Enterprise Linux 6 or higher. EasyApache 4 does not supportCloudLinux. You must upgrade your system to a compatible operating system before you can migrate to EasyApache 4.

photo
1

Is Software like Joomla, WordPress and other compatible with PHP7 yet though.

photo
1

Wordpress is compatible with PHP7, but some plugins and themes may not be yet

photo
1

Joomla support will come with 3.5, but extension compatibility is another matter

photo
1

I'm using the latest WordPress, XenForo and Dada Mail on another server not using cPanel that has PHP 7.0.3. All works fine. One or two WP plugins may need updating. Suspect plugins that haven't been updated in a long while.


Peace,

Gene

photo
1

Just like PHP 5.6...RHEL/CentOS 5 (supposedly still supported till next year) users are out of luck.

photo
1

Hi Tony,


I have on my backlog to get PHP 5.6 provided for CentOS 5 systems. I'm not sure when I'll be able to get to it, but it's definitely something I want to provide. However, PHP 7 will only be available for EasyApache 4, which isn't available for CentOS 5. You'll need to have those systems upgraded (I'd recommend CentOS 7) to use EA4.

photo
1

Glad to hear we will get PHP 5.6 eventually Jacob.

While I understand the push to move away from EL5, cPanel needs to stop treating it like a red headed step child until it is officially EOL. Not properly supporting an OS that is listed as supported through EOL is simply not good enough when hundreds of thousands of servers are still relying on that version and paying for cPanel to support it.


The only issue I have seen used as an explanation for the poor level of support over the past year for EL5 is the lack of modern OpenSSL provided by the distro. This is such a simple issue to get around with an alternate installation to /opt/openssl (just like /opt/curlssl) which is what many have had to do manually to maintain PCI compliance or site/application/payment gateway compatibility.

While it would take little work from cPanel to include this, it would greatly help a large number of hosts that are paying cPanel for support (license) for EL5 which is really only receiving partial support from cPanel lately.

photo
1

OK, is it not available for EA 3?


Peace,

Gene

photo
1

Until EA 4 allows custom modules like mod_geoip I will not be upgrading to PHP7 yet

photo
1

There isn't anything preventing mod_geoip usage with EasyApache 4. If you'e had issue installing it, I'd recommend opening a ticket. We don't have to provide a mod_geoip package for it to be used in EA4, you can compile it from source (or install EPEL packages) and configure Apache.

photo
1

Custom modules are allowed. You'll need to either build and distribute an RPM, or build from source on your server.

photo
1

I will do this on our dev server first before doing it on the customer live servers.

photo
1

i have configured PHP 7 through EasyApache 4 and i follow the step to configure it with PHP-FPM , everything run smothly i think , but i can't find way to make sure that PHP-FPM is working


i have check that PHP-FPM is running, i tried the php.info file but it's showing the API is cgi/facdi

the error log saying that php-fpm is ready to have connection .


but even i tried all way am still not sure if it's working or not


can you please advice.


Thanks

photo
1

I also initially had issues with php56 (should be the same for php70) but I managed to iron them out


https://forums.cpanel.net/threads/php-fpm-503-errors-ea4.518771/#post-2095621


Make sure your ProxyPassMatch in the fpm.conf of the domain in question is configured properly

photo
1

thanks solved my problem was package conflict :)

photo
1

Great update cPanel!


I'd suggest doing a video instruction for EA4, as I was lost at first (and I thought we couldn't configure anything, but we can!).


Keep up the awesome work! Cheers <3

photo
1

Great news Jacob! Can you update this topic's "Best Answer" so it will reflect the latest status for everybody?

Please correct me if I'm wrong: the status is that PHP7 is fully supported in EA4 now, but EA4 itself is still in beta, and will be stable in cPanel 56?

What we'd like to know: how does this combine with http/2? They aren't related at all, but if both are stable that would let us decide to take the step ;-)

photo
2

Hi Richard,


EA4 is in beta atm. There's a couple more things we need to get working before it's 'Stable', including CL (they are almost done I think) and PECL / PEAR. We only have a few weeks left in our 56 development cycle, and I don't think we'll be ready for "STABLE" in 56, but more like 58.


We haven't looked at http2 for EA4 yet unfortunately.


I hope this helps!

photo
1

I've been actively involved with mod_h2 development. Upcoming Apache 2.4.19 is definitely a preferred target, since a boatload of issues have been fixed since the module was introduced in 2.4.18.


I've been running latest mod_h2 on a production server for a couple of months and once the initial quirks got worked out, I'm very happy with the improvement this provides over legacy HTTP/1.x.

photo
1

My assumption was that h2 would be supported out of the box because EA supports Apache 2.4.18+


So apparently it seems this isn't that easy? :)

photo
1

Is it possible to use PHP7 and PHP 5.6 on different accounts?

photo
1

Hi,


This is what EasyApache 4 is for, it allows you to run multiple PHP versions on a system and assign those versions to accounts. https://documentation.cpanel.net/display/EA4/How+to+Install+or+Uninstall+EasyApache+4

photo
1

This feature request is about PHP 7. I'd recommend opening a new feature request for MOD_HTTP2 for EasyApache 4.

photo
1

There already was a feature request for mod_h2, which actually is marked as completed already:


https://features.cpanel.net/topic/mod_h2-apache-http2-support

photo
1

Confused. Is the command below only for EA4? Doesn't show up in EA3.


yum install ea-php70

photo
1

Correct, PHP 7.0 is only available for EasyApache 4.

photo
1

Any idea when these extensions will became available on EA4?


“Cpanel::Easy::Apache::Access” ignored since it does not have an RPM.

“Cpanel::Easy::Apache::MemCache” ignored since it does not have an RPM.

“Cpanel::Easy::PHP5::FileInfo” ignored since it does not have an RPM.

“Cpanel::Easy::Speed” ignored since it does not have an RPM.

photo
1

mod_access is provided by default now.

mod_memcache can be built on it's own with pecl-memcache

PHP5 :: FileInfo is now provided by default via PHP.

Is 'Cpanel::Easy::Speed' pagespeed? If so, you can compile this from source (you might need to install httpd-tools package from EA repositories for apxs and such).

photo
1

switching to EA4 now! thanks!

photo
1

Since cPanel doesn't support php7 on ea3 is ea4 stable enough for a production server?

photo
3

Though EA4 is still officially beta, we think it is completely stable enough for a production server. We're working really hard to get it pushed to 'stable' / 'production ready' next release (v58). The only things stopping us right now are PEAR/PECL issues (which is currently targeted for v58), the Include Editors don't work (we're hoping to fix that v56), and CloudLinux doesn't have official support for EA4 yet (but we're hoping that will be corrected within a month or so).

If none of those affect you, I'd highly recommend checking it out! Worst case, you experience issues, and you can revert very quickly. However if you do experience issues, let us know (https://tickets.cpanel.net/) so we can help you out with them. We've got 95% of the use cases working great, we're working on the edge cases right now :)

This is also a good spot to check on the status of EA4:

https://documentation.cpanel.net/display/EA4/Current+Status+of+EasyApache+4

photo
1

Thanks for the update. What's the exact "revert" procedure if the EA4 update bombs for some reason?

photo
1

Aha, probably this


https://documentation.cpanel.net/display/EA4/How+to+Install+or+Uninstall+EasyApache+4


--revert Revert the system to the previous version and configuration.


I wonder well it handles everything.. what are the chances of failing revert and leaving the system in a place where only a filesystem snapshot restore will help?

photo
1

These sorts of conversations are best had outside the feature request system, either on the forums or in a ticket with our support system. I'm going to lock comments on this request, but if you need anything else please feel free to email me directly: benny@cpanel.net

photo
2

I assume I just run this command from the command line, is this correct? Or do I have to enter a build process?

photo
3

That's correct. It's just like any other yum command that you might right, and you run it as root. If you have any problems with it, feel free to reach out to our support team ( https://tickets.cpanel.net/ ). They can absolutely help you with any questions you have!

Replies have been locked on this page!