Jump to content
thirty bees forum
  • 0

Disable php5.4 enable 7.0


Havouza

Question

Centos 7 Apache 2

Anyone know how to enable php 7.0 and disable php 5.4 in Centos 7. The a2enmod and a2dismod does not exist in Centos, that is a Ubuntu thing. php -v tell me that I have 5.4 and I think that cause some of my problems

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Are you managing CentOS via WHM?  If so, go into Software >EasyApache

Customize your package: remove what you do not need, install what you need.  Bly clicking customize, you will see the PHP versions that are installed.  Provision the ones you need and future ones, leave anything below 7.1 unless you specifically need them to run things.

Then go to PHP Manager and apply the PHP version you need to the domain that is linked to your shop.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...