Support

Admin Tools

#37367 PHP version change on installation

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Saturday, 25 June 2022 15:10 CDT

alexmartin

On installation of Admin tools some files that responsible for keeping PHP version 8 on my site are changed by installation process to 7.4

That is a bug, i have noticed a few month ago and it is not fixed up top yesterday. I guess is that  .httaccess file was replaced by admin tools despite me selecting NO  change to .httaccess during the installation process. If you intended to change the PHP version , please have PHP 8.0.2

Thank you.   

nicholas
Akeeba Staff
Manager

It is not a bug, it's something that has been documented the last 12 years Admin Tools has been around: https://www.akeeba.com/documentation/admin-tools-joomla/custom-htaccess-rules.html It is simply how your web server works.

So, here's what to do:

  1. Generate your .htaccess file with Admin Tools' .htaccess Maker
  2. Go to your hosting control panel and change the PHP version
  3. Edit your .htaccess file and copy the AddHandler and SetHandler lines which apply the different PHP version
  4. Paste these lines into the .htaccess Maker's “Custom .htaccess rules at the bottom of the file”
  5. Click on Save & Create .htaccess File

Now every time you regenerate your .htaccess file these lines (typically it's just one line) will be added to the custom .htaccess file to apply the different PHP version.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!