Jump to content

Recommended Posts

Posted (edited)

For some weird reason, I can't change PHP version on Tommy. 

 

Tried with different browsers, etc - all the same.

 

 

1.gif

Edited by mlex
Posted

Tried to edit the .htaccess from:

 

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
<IfModule mime_module>
  AddType application/x-httpd-ea-php56 .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

 

 

to

 

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
<IfModule mime_module>
  AddType application/x-httpd-php72 .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

Without any positive success.

 

Posted

I can't change it from my end either. WHM says your domain doesn't exist when I try to search for it in the MultiPHP options, and if do it from your cPanel, I experience the same behavior shown in the picture. Renaming your htaccess didn't help either...

 

Lets see if Krydos knows what happened here.

  • Like 1
Posted

Did it by modifying the .htaccess :

 

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php56” package as the default “PHP” programming language.
<IfModule mime_module>
  AddType application/x-httpd-ea-php72 .php .php5 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

But would be nice to know why I can't modify it from cpanel.

Posted

I've noticed I'm getting "error_log" with the following message, and I think it's related to the above subject:

PHP Warning:  Module 'apcu' already loaded in Unknown on line 0
Posted

I think it's something with easy Apache. It is what manages and configures php and other components of the Web server.

Would reprovisioning cause a lot of downtime?

Posted

Did it by modifying the .htaccess :

Glad you figured it out. I prefer to do it manually through .htaccess anyways. The cpanel interface only allows you to control it on a domain level. Manually editing your .htaccess allows you to set different php versions on a per directory level.

 

PHP Warning:  Module 'apcu' already loaded in Unknown on line 0

Fixed. That was just an error in php.ini trying to load the apcu module twice. Not sure why it was like that, and it may come back on it's own. It's actually harmless except for the fact that it spams up your error_log. Thanks for pointing it out.
  • Like 1
Guest
This topic is now closed to further replies.
×
×
  • Create New...