mlex Posted May 10, 2018 Share Posted May 10, 2018 (edited) For some weird reason, I can't change PHP version on Tommy. Tried with different browsers, etc - all the same. Edited May 10, 2018 by mlex Link to comment Share on other sites More sharing options...
mlex Posted May 10, 2018 Author Share Posted May 10, 2018 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 editWithout any positive success. Link to comment Share on other sites More sharing options...
wolstech Posted May 10, 2018 Share Posted May 10, 2018 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. 1 Link to comment Share on other sites More sharing options...
mlex Posted May 10, 2018 Author Share Posted May 10, 2018 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 editBut would be nice to know why I can't modify it from cpanel. Link to comment Share on other sites More sharing options...
mlex Posted May 10, 2018 Author Share Posted May 10, 2018 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 Link to comment Share on other sites More sharing options...
ziad87 Posted May 10, 2018 Share Posted May 10, 2018 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? Link to comment Share on other sites More sharing options...
Krydos Posted May 11, 2018 Share Posted May 11, 2018 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 0Fixed. 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. 1 Link to comment Share on other sites More sharing options...
mlex Posted May 11, 2018 Author Share Posted May 11, 2018 Thanks for clarifying this. Everything works great now. Link to comment Share on other sites More sharing options...
Recommended Posts